Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Web Routes
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here is where you can register web routes for your application. These
  9. | routes are loaded by the RouteServiceProvider within a group which
  10. | contains the "web" middleware group. Now create something great!
  11. |
  12. */
  13.  
  14. Route::get('/','FrontendController@index')->name('homepage');
  15.  
  16. Auth::routes();
  17.  
  18. Route::get('/home', 'HomeController@index')->name('home');
  19. Route::get('/home', 'StudentController@index')->name('student.index');
  20. Route::resource('student', 'StudentController');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement