Rename admin routes to settings.

This commit is contained in:
James Cole
2025-01-18 17:20:06 +01:00
parent 3ecad3457f
commit d178ff9de0
3 changed files with 21 additions and 6 deletions

View File

@@ -1369,7 +1369,7 @@ Route::group(
// For the admin routes, the user must be logged in and have the role of 'owner'.
Route::group(
['middleware' => 'admin', 'namespace' => 'FireflyIII\Http\Controllers\Admin', 'prefix' => 'settings', 'as' => 'admin.'],
['middleware' => 'admin', 'namespace' => 'FireflyIII\Http\Controllers\Admin', 'prefix' => 'settings', 'as' => 'settings.'],
static function (): void {
// admin home
Route::get('', ['uses' => 'HomeController@index', 'as' => 'index']);