2019-09-18 16:50:01 +02:00
|
|
|
<?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!
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
Auth::routes();
|
|
|
|
|
2019-09-25 15:20:22 +02:00
|
|
|
Route::get('/', 'WelcomeController@index')->name('home');
|
|
|
|
Route::get('/home', 'HomeController@index')->name('dashboard');
|
2019-09-18 16:50:01 +02:00
|
|
|
Route::post('store', 'HomeController@store')->name('store');
|
2020-03-05 15:39:35 +01:00
|
|
|
Route::post('delete', 'HomeController@delete')->name('delete');
|
|
|
|
Route::post('edit', 'HomeController@edit')->name('edit');
|
2019-09-30 16:32:40 +02:00
|
|
|
Route::post('stats', 'StatsController@tag')->name('stats'); // TODO make a group for stats
|