init
This commit is contained in:
2
routes/api.php
Normal file
2
routes/api.php
Normal file
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
|
||||
2
routes/channels.php
Normal file
2
routes/channels.php
Normal file
@@ -0,0 +1,2 @@
|
||||
<?php
|
||||
|
||||
1
routes/console.php
Normal file
1
routes/console.php
Normal file
@@ -0,0 +1 @@
|
||||
<?php
|
||||
13
routes/web.php
Normal file
13
routes/web.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::group([
|
||||
'middleware' => ['auth'],
|
||||
], function () {
|
||||
Route::get('/', 'IndexController@index')->name('index');
|
||||
Route::get('/{vote}', 'IndexController@vote')->name('vote');
|
||||
});
|
||||
|
||||
Route::get('auth/login', 'AuthController@login')->name('login');
|
||||
Route::post('auth/login', 'AuthController@login')->name('login');
|
||||
Reference in New Issue
Block a user