.
This commit is contained in:
28
routes/web.php
Normal file
28
routes/web.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Web Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here is where you can register web routes for your application. These
|
||||
| routes are loaded by the RouteServiceProvider within a group which
|
||||
| contains the "web" middleware group. Now create something great!
|
||||
|
|
||||
*/
|
||||
|
||||
Route::get('/', 'DashboardController@index')->name('home');
|
||||
Route::post('/ajax', 'DashboardController@ajax')->name('home');
|
||||
Auth::routes();
|
||||
|
||||
// konfigurace
|
||||
Route::group(['prefix' => 'configuration', 'middleware' => 'auth'], function () {
|
||||
Route::get('/', 'Configuration\CompanyController@index')->name('configuration');
|
||||
Route::get('company', 'Configuration\CompanyController@index')->name('company');
|
||||
Route::match(['get','post'], 'company/{id}', 'Configuration\CompanyController@edit')->name('company-edit');
|
||||
Route::get('terms', 'Configuration\TermController@index')->name('terms');
|
||||
Route::match(['get','post'],'term/{id}', 'Configuration\TermController@edit')->name('term-edit');
|
||||
});
|
||||
|
||||
// pouzitelny template pro admin
|
||||
// https://colorlib.com/wp/free-bootstrap-admin-dashboard-templates/
|
||||
Reference in New Issue
Block a user