mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 10:45:58 +02:00
Fix controller & routes
This commit is contained in:
parent
ee2601b8de
commit
9c662471a7
5 changed files with 13 additions and 16 deletions
|
@ -4,9 +4,16 @@ class Registrar
|
|||
|
||||
def new
|
||||
authorize! :manage, :repp
|
||||
@expire_date = Time.zone.now.to_date
|
||||
render file: 'registrar/bulk_change/new', locals: { active_tab: default_tab }
|
||||
end
|
||||
|
||||
def bulk_renew
|
||||
authorize! :manage, :repp
|
||||
@expire_date = params[:expire_date].to_date
|
||||
render file: 'registrar/bulk_change/new', locals: { active_tab: :bulk_renew }
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def available_contacts
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
class Registrar
|
||||
class BulkRenewController < DeppController
|
||||
def index; end
|
||||
|
||||
def new
|
||||
authorize! :manage, :repp
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue