Skip to content

Commit

Permalink
fix: school tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mykeels committed Jun 2, 2019
1 parent 6f80a15 commit 7525598
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,6 @@ class ResultOutput()
Route::get('master/deactivate-admin/{id}','UserController@deactivateAdmin');
Route::post('create-school', 'SchoolController@store');
Route::get('school/admin-list/{school_id}','SchoolController@show');
Route::get('school/{school_id}','SchoolController@edit');
Route::post('school/{school_id}','SchoolController@edit');
});

Route::middleware(['auth','admin'])->group(function (){
Expand Down Expand Up @@ -233,6 +231,10 @@ class ResultOutput()
Route::post('edit/course/{id}','CourseController@updateNameAndTime');
});

Route::middleware(['auth', 'master'])->group(function () {
Route::get('school/{school_id}','SchoolController@edit');
Route::post('school/{school_id}','SchoolController@edit');
});


//use PDF;
Expand Down

0 comments on commit 7525598

Please sign in to comment.