Advertisement
Guest User

Untitled

a guest
Dec 5th, 2016
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Web Routes
  6. |--------------------------------------------------------------------------
  7. |
  8. | This file is where you may define all of the routes that are handled
  9. | by your application. Just tell Laravel the URIs it should respond
  10. | to using a Closure or controller method. Build something great!
  11. |
  12. */
  13.  
  14. /*
  15. |--------------------------------------------------------------------------
  16. | LANDING
  17. |--------------------------------------------------------------------------
  18. */
  19.  
  20. Route::get('/', 'LandingController@home');
  21.  
  22. /*
  23. |--------------------------------------------------------------------------
  24. | SCHEDULE
  25. |--------------------------------------------------------------------------
  26. */
  27.  
  28. Route::get('/schedule', 'ScheduleController@home');
  29.  
  30. /*
  31. |--------------------------------------------------------------------------
  32. | STUDIO
  33. |--------------------------------------------------------------------------
  34. */
  35.  
  36. Route::get('/studio', 'StudioController@index');
  37. Route::get('/studio/{classid}', 'StudioController@home');
  38.  
  39. /*
  40. |--------------------------------------------------------------------------
  41. | SEARCH
  42. |--------------------------------------------------------------------------
  43. */
  44.  
  45. Route::get('/search', 'SearchController@index');
  46. Route::get('/search/{query}', 'SearchController@home');
  47. Route::post('/search_save', 'SearchController@home');
  48.  
  49. /*
  50. |--------------------------------------------------------------------------
  51. | ABOUT
  52. |--------------------------------------------------------------------------
  53. */
  54.  
  55. Route::get('/about', 'LandingController@about');
  56.  
  57. /*
  58. |--------------------------------------------------------------------------
  59. | PRICING
  60. |--------------------------------------------------------------------------
  61. */
  62.  
  63. Route::get('/pricing', 'LandingController@pricing');
  64. Route::post('/join', 'LandingController@join');
  65.  
  66. /*
  67. |--------------------------------------------------------------------------
  68. | SUPPORT
  69. |--------------------------------------------------------------------------
  70. */
  71.  
  72. Route::get('/support', 'LandingController@support');
  73.  
  74. /*
  75. |--------------------------------------------------------------------------
  76. | TERMS
  77. |--------------------------------------------------------------------------
  78. */
  79.  
  80. Route::get('/terms', 'LandingController@terms');
  81.  
  82. /*
  83. |--------------------------------------------------------------------------
  84. | ACCOUNT HOME
  85. |--------------------------------------------------------------------------
  86. */
  87.  
  88. Auth::routes();
  89. Route::get('/home', 'HomeController@home');
  90.  
  91. Route::get('/home/all', 'HomeController@all');
  92.  
  93. Route::get('/home/new', 'HomeController@newclass');
  94. Route::post('/home/newclass_save', 'HomeController@newclass_save');
  95.  
  96.  
  97. Route::get('/home/edit', 'HomeController@editclass');
  98. Route::get('/home/edit/{classid}', 'HomeController@editclass');
  99. Route::post('/home/editclass_save', 'HomeController@editclass_save');
  100.  
  101.  
  102. Route::get('/home/cancel', 'HomeController@cancelclass');
  103. Route::get('/home/cancel/{classid}', 'HomeController@cancelclass');
  104. Route::post('/home/cancelclass_save', 'HomeController@cancelclass_save');
  105.  
  106. Route::get('/home/message', 'HomeController@messageclass');
  107. Route::get('/logout', 'HomeController@logout');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement