Sha256: bb36f44c7022fb3460305404d68f914fee0989e8e99473866173533bd5e0cf60
Contents?: true
Size: 520 Bytes
Versions: 84
Compression:
Stored size: 520 Bytes
Contents
module Spotlight ## # Custom {Devise::ConfirmationsController} with spotlight behaviors class ConfirmationsController < Devise::ConfirmationsController layout 'spotlight/spotlight' protected def after_confirmation_path_for(_resource_name, resource) if signed_in? exhibit_root_path(resource.exhibit) else main_app.new_user_session_path end end def after_resending_confirmation_instructions_path_for(_resource_name) main_app.root_path end end end
Version data entries
84 entries across 84 versions & 1 rubygems