Sha256: 9fc1ca1d1c893c17b6085d73e38d072bf2a1ae05f283f160d425bda0af2da22a

Contents?: true

Size: 257 Bytes

Versions: 26

Compression:

Stored size: 257 Bytes

Contents

class Users::MasqueradesController < Devise::MasqueradesController
  # This location matches the location for other Devise controllers

  protected

  # Custom url redirect after masquerade
  def after_masquerade_path_for(_resource)
    root_path
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.3.5 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.3.4 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.3.3 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.3.2 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.3.1 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.3.0 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.2.43 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.2.42 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.2.41 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.2.40 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.2.39 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.2.38 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.2.37 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.2.36 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.2.35 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.2.34 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.2.33 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.2.32 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb
rails_app_generator-0.2.31 after_templates/addons/devise_masquerade/app/controllers/users/masquerades_controller.rb