This commit is contained in:
2018-10-30 15:24:18 +01:00
commit d8b9817f97
105 changed files with 4227 additions and 0 deletions

28
routes/web.php Normal file
View 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/