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:
parent
65cf572ba5
commit
ac86b6ff6f
@ -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 = '')
|
||||
{
|
||||
|
@ -115,7 +115,7 @@ class HistoryEntry extends Component
|
||||
*
|
||||
* @param $oldValue
|
||||
* @param $newValue
|
||||
* @return null[]
|
||||
* @return null[]|string[]
|
||||
*/
|
||||
protected function processTagsField($oldValue, $newValue)
|
||||
{
|
||||
|
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user