Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- |--------------------------------------------------------------------------
- | Web Routes
- |--------------------------------------------------------------------------
- |
- | This file is where you may define all of the routes that are handled
- | by your application. Just tell Laravel the URIs it should respond
- | to using a Closure or controller method. Build something great!
- |
- */
- /*
- |--------------------------------------------------------------------------
- | LANDING
- |--------------------------------------------------------------------------
- */
- Route::get('/', 'LandingController@home');
- /*
- |--------------------------------------------------------------------------
- | SCHEDULE
- |--------------------------------------------------------------------------
- */
- Route::get('/schedule', 'ScheduleController@home');
- /*
- |--------------------------------------------------------------------------
- | STUDIO
- |--------------------------------------------------------------------------
- */
- Route::get('/studio', 'StudioController@index');
- Route::get('/studio/{classid}', 'StudioController@home');
- /*
- |--------------------------------------------------------------------------
- | SEARCH
- |--------------------------------------------------------------------------
- */
- Route::get('/search', 'SearchController@index');
- Route::get('/search/{query}', 'SearchController@home');
- Route::post('/search_save', 'SearchController@home');
- /*
- |--------------------------------------------------------------------------
- | ABOUT
- |--------------------------------------------------------------------------
- */
- Route::get('/about', 'LandingController@about');
- /*
- |--------------------------------------------------------------------------
- | PRICING
- |--------------------------------------------------------------------------
- */
- Route::get('/pricing', 'LandingController@pricing');
- Route::post('/join', 'LandingController@join');
- /*
- |--------------------------------------------------------------------------
- | SUPPORT
- |--------------------------------------------------------------------------
- */
- Route::get('/support', 'LandingController@support');
- /*
- |--------------------------------------------------------------------------
- | TERMS
- |--------------------------------------------------------------------------
- */
- Route::get('/terms', 'LandingController@terms');
- /*
- |--------------------------------------------------------------------------
- | ACCOUNT HOME
- |--------------------------------------------------------------------------
- */
- Auth::routes();
- Route::get('/home', 'HomeController@home');
- Route::get('/home/all', 'HomeController@all');
- Route::get('/home/new', 'HomeController@newclass');
- Route::post('/home/newclass_save', 'HomeController@newclass_save');
- Route::get('/home/edit', 'HomeController@editclass');
- Route::get('/home/edit/{classid}', 'HomeController@editclass');
- Route::post('/home/editclass_save', 'HomeController@editclass_save');
- Route::get('/home/cancel', 'HomeController@cancelclass');
- Route::get('/home/cancel/{classid}', 'HomeController@cancelclass');
- Route::post('/home/cancelclass_save', 'HomeController@cancelclass_save');
- Route::get('/home/message', 'HomeController@messageclass');
- Route::get('/logout', 'HomeController@logout');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement