123456789101112131415161718192021222324252627282930 |
- <?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::get('/', function () {
- return view('welcome');
- });
-
- Route::resource('course', 'CourseController');
- Route::resource('professor', 'ProfessorController');
- Route::resource('section', 'SectionController');
-
- // Auth::routes();
-
- Route::get('/dashboard', 'DashboardController@index')->name('dashboard');
- Route::get('/dashboard/schedule/{semester}', 'DashboardController@schedule')->name('schedule');
- Route::get('/dashboard/export/{semester}', 'DashboardController@export')->name('export');
-
- Route::get('/login', 'Auth\LoginController@redirectToProvider')->name('login');
- Route::get('/callback', 'Auth\LoginController@handleProviderCallback')->name('callback');
- Route::get('/logout', 'Auth\LoginController@logout')->name('logout');
|