mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 13:44:47 +02:00
parent
2ce4fa9ce0
commit
ec43586ef4
3 changed files with 44 additions and 17 deletions
|
@ -397,4 +397,14 @@ class EppController < ApplicationController
|
|||
name = self.class.to_s.sub("Epp::","").sub("Controller","").underscore.singularize
|
||||
instance_variable_get("@#{name}")
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def signed_in?
|
||||
epp_session
|
||||
end
|
||||
|
||||
def epp_session_id
|
||||
cookies[:session]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue