mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Cleanup #2713
This commit is contained in:
parent
f7906800c4
commit
0a73f77130
2 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue