Sha256: 5a5f1f85eed95e428bcc83a646b92c5915d7a08cc956d1203e0ecd8239e87a85

Contents?: true

Size: 234 Bytes

Versions: 7

Compression:

Stored size: 234 Bytes

Contents

class Admin::DeviseOverrides::SessionsController < Devise::SessionsController
  layout 'admin'

  def after_sign_in_path_for(resource)
    admin_path
  end

  def after_sign_out_path_for(resource)
    new_admin_session_path
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
chr-0.4.15 templates/devise_overrides_sessions_controller.rb
chr-0.4.14 templates/devise_overrides_sessions_controller.rb
chr-0.4.13 templates/devise_overrides_sessions_controller.rb
chr-0.4.12 templates/devise_overrides_sessions_controller.rb
chr-0.4.11 templates/devise_overrides_sessions_controller.rb
chr-0.4.10 templates/devise_overrides_sessions_controller.rb
chr-0.4.9 templates/devise_overrides_sessions_controller.rb