diff --git a/app/controllers/registrar/dashboard_controller.rb b/app/controllers/registrar/dashboard_controller.rb index a2364e973..cdbc70b0c 100644 --- a/app/controllers/registrar/dashboard_controller.rb +++ b/app/controllers/registrar/dashboard_controller.rb @@ -7,11 +7,5 @@ class Registrar::DashboardController < RegistrarController elsif can?(:show, Invoice) redirect_to registrar_invoices_url and return end - - # if current_user.try(:roles) == ['billing'] - # redirect_to registrar_invoices_url and return - # elsif can?(:show, :poll) - # redirect_to registrar_poll_url and return - # end end end diff --git a/config/routes.rb b/config/routes.rb index 676cae912..5431cdbf4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -21,7 +21,6 @@ Rails.application.routes.draw do namespace :registrar do resource :dashboard root 'dashboard#show' - # root 'polls#show' resources :invoices do member do