diff --git a/app/controllers/static_pages_controller.rb b/app/controllers/static_pages_controller.rb index 11aa062..f14cdc4 100644 --- a/app/controllers/static_pages_controller.rb +++ b/app/controllers/static_pages_controller.rb @@ -37,4 +37,7 @@ def teacher_dashboard def petitions end + + def view_grades + end end diff --git a/config/routes.rb b/config/routes.rb index f2733d6..5fd4b9e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -13,5 +13,7 @@ get '/teacher_dashboard', to: 'static_pages#teacher_dashboard' get '/petitions', to: 'static_pages#petitions' get '/quiz', to: 'static_pages#quiz' + get '/view_grades', to: 'static_pages#view_grades' + devise_for :users end