<?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::resource('fsirevents', 'CRUDController');

Route::get('fsirevents.sport', 'CRUDController@sport');
//Route::resource('sport', 'CRUDController');

Route::get('fsirevents.it', 'CRUDController@it');
//Route::resource('it', 'CRUDController');

Route::get('fsirevents.festive', 'CRUDController@festive');
//Route::resource('festive', 'CRUDController');

Route::get('/register', 'RegistrationController@create');
Route::post('register', 'RegistrationController@store');
 
Route::get('/login', 'SessionsController@create');
Route::post('/login', 'SessionsController@store');
Route::get('/logout', 'SessionsController@destroy');