File tree Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change 958958 'downloadBackup '
959959 ]
960960 )->name ('api.settings.backups.download ' );
961-
962- Route::get ('version ' ,
963- [
964- Api \VersionController::class,
965- 'index '
966- ]
967- )->name ('api.version.index ' );
968961
969962 Route::resource ('settings ' ,
970963 Api \SettingsController::class,
13231316
13241317
13251318 /**
1326- * Version API routes
1327- */
1328-
1329- Route::get ('/version ' , function () {
1330- return response ()->json (
1331- [
1332- 'version ' => config ('version.app_version ' ),
1333- ], 200 );
1334- }); // end version api routes
1319+ * Version API routes
1320+ */ Route::get ('/version ' ,
1321+ [
1322+ Api \VersionController::class,
1323+ 'index '
1324+ ]
1325+ )->name ('api.version.index ' ); // end version api routes
13351326
13361327
1337- Route::fallback (function () {
1328+ Route::fallback (function () {
13381329 return response ()->json (
13391330 [
13401331 'status ' => 'error ' ,
You can’t perform that action at this time.
0 commit comments