1
0
mirror of https://github.com/Kovah/LinkAce.git synced 2025-04-19 06:27:00 +02:00

Minor code optimization and mini fixes

This commit is contained in:
Kovah 2021-04-15 11:30:09 +02:00
parent 65cf572ba5
commit ac86b6ff6f
No known key found for this signature in database
GPG Key ID: AAAA031BA9830D7B
3 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ function usersettings(string $key = '')
* Retrieve system settings
*
* @param string $key
* @return null|Collection
* @return null|Collection|string
*/
function systemsettings(string $key = '')
{

View File

@ -115,7 +115,7 @@ class HistoryEntry extends Component
*
* @param $oldValue
* @param $newValue
* @return null[]
* @return null[]|string[]
*/
protected function processTagsField($oldValue, $newValue)
{

View File

@ -72,7 +72,7 @@ Route::group(['middleware' => ['auth']], function () {
Route::resource('lists', ListController::class);
Route::resource('tags', TagController::class);
Route::resource('notes', NoteController::class)
->except(['index', 'show']);
->except(['index', 'show', 'create']);
Route::post('links/toggle-check/{link}', [LinkController::class, 'updateCheckToggle'])
->name('links.toggle-check');