mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Registrar refactor fixes
This commit is contained in:
parent
d09855bc6d
commit
9bb20365c9
15 changed files with 46 additions and 57 deletions
|
@ -1,11 +1,4 @@
|
|||
class Registrar::DeppController < RegistrarController # EPP controller
|
||||
include CurrentUserHelper
|
||||
include Depp::ApplicationHelper
|
||||
|
||||
# Prevent CSRF attacks by raising an exception.
|
||||
# For APIs, you may want to use :null_session instead.
|
||||
protect_from_forgery with: :exception
|
||||
|
||||
helper_method :depp_current_user
|
||||
|
||||
rescue_from(Errno::ECONNRESET, Errno::ECONNREFUSED) do |_exception|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue