'dashboard' ], function() { Route::get('/', 'DashboardController@getIndex'); Route::get('/credits', 'DashboardController@getCredits'); Route::get('/settings', 'DashboardController@getSettings'); Route::get('/view/{model}', 'DashboardController@getView'); Route::get('/edit/{model}', 'DashboardController@getEditList'); Route::get('/edit/{model}/{id}', 'DashboardController@getEditItem'); Route::get('/export/{model}', 'DashboardController@getExport'); Route::post('/image-upload', 'DashboardController@postImageUpload'); Route::post('/file-upload', 'DashboardController@postFileUpload'); Route::post('/update', 'DashboardController@postUpdate'); Route::post('/reorder', 'DashboardController@postReorder'); Route::post('/user-password', 'DashboardController@postUserPassword'); Route::delete('/delete', 'DashboardController@deleteDelete'); Route::delete('/image-delete', 'DashboardController@deleteImageDelete'); Route::delete('/file-delete', 'DashboardController@deleteFileDelete'); }); /* |-------------------------------------------------------------------------- | Public Routes |-------------------------------------------------------------------------- */ Route::get('/language/{lang}', function($lang) { Language::setSessionLanguage($lang); return redirect()->back(); }); Route::get('/{vue?}', function() { return view('templates.public'); })->where('vue', '[\/\w\.-]*');