registrar flash cleanup

This commit is contained in:
Priit Tark 2015-04-09 17:21:49 +03:00
parent ec4c06bb06
commit eeec5705d9
3 changed files with 13 additions and 8 deletions

View file

@ -17,6 +17,10 @@ class Registrar::DeppController < RegistrarController # EPP controller
redirect_to registrar_login_url and return unless depp_current_user
end
def depp_controller?
true
end
def depp_current_user
return nil unless current_user
@depp_current_user ||= Depp::User.new(