Method: Devise::FailureApp#relative_url_root

Defined in:
lib/devise/failure_app.rb

#relative_url_rootObject (protected)



266
267
268
269
270
271
272
# File 'lib/devise/failure_app.rb', line 266

def relative_url_root
  @relative_url_root ||= begin
    config = Rails.application.config

    config.try(:relative_url_root) || config.action_controller.try(:relative_url_root)
  end
end