Sha256: c02b4ef3a83d4482e2dde40dcf9c67f60991d43334f99d03d69981d607a3af02
Contents?: true
Size: 551 Bytes
Versions: 76
Compression:
Stored size: 551 Bytes
Contents
# frozen_string_literal: true 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
76 entries across 76 versions & 1 rubygems