mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 03:06:14 +02:00
Fixed registrar module helper
This commit is contained in:
parent
9bb20365c9
commit
8df6b3bdd1
4 changed files with 19 additions and 17 deletions
|
@ -2,8 +2,8 @@ class Registrar::PollsController < Registrar::DeppController # EPP controller
|
|||
before_action :init_epp_xml
|
||||
|
||||
def show
|
||||
authorize! :view, :registrar_dashboard
|
||||
@data = depp_current_user.request(@ex.poll)
|
||||
authorize! :view, :registrar_dashboard
|
||||
@data = depp_current_user.request(@ex.poll)
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
class Registrar::SessionsController < ::SessionsController
|
||||
layout 'registrar/application'
|
||||
helper_method :depp_controller?
|
||||
def depp_controller?
|
||||
false
|
||||
end
|
||||
|
||||
def create
|
||||
@user = ApiUser.first if params[:user1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue