설명 없음

web.php 1.1KB

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /*
  3. |--------------------------------------------------------------------------
  4. | Web Routes
  5. |--------------------------------------------------------------------------
  6. |
  7. | Here is where you can register web routes for your application. These
  8. | routes are loaded by the RouteServiceProvider within a group which
  9. | contains the "web" middleware group. Now create something great!
  10. |
  11. */
  12. Route::get('/', function () {
  13. return view('welcome');
  14. });
  15. Route::resource('course', 'CourseController');
  16. Route::resource('professor', 'ProfessorController');
  17. Route::resource('section', 'SectionController');
  18. // Auth::routes();
  19. Route::get('/dashboard', 'DashboardController@index')->name('dashboard');
  20. Route::get('/dashboard/schedule/{semester}', 'DashboardController@schedule')->name('schedule');
  21. Route::get('/dashboard/export/{semester}', 'DashboardController@export')->name('export');
  22. Route::get('/login', 'Auth\LoginController@redirectToProvider')->name('login');
  23. Route::get('/callback', 'Auth\LoginController@handleProviderCallback')->name('callback');
  24. Route::get('/logout', 'Auth\LoginController@logout')->name('logout');