Sha256: 279fd28ddb74ae666050a15a533286ea7f4888d29b4bd963635c1475977fae32

Contents?: true

Size: 351 Bytes

Versions: 13

Compression:

Stored size: 351 Bytes

Contents

module PushType
  class AuthController < ActionController::Base

    include AuthHelper

    protected

    def after_sign_in_path_for(resource_or_scope)
      stored_location_for(resource_or_scope) || push_type_admin.root_path
    end

    def after_sign_out_path_for(resource_or_scope)
      push_type_admin.new_user_session_path
    end

  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
push_type_auth-0.12.1 app/controllers/push_type/auth_controller.rb
push_type_auth-0.12.0 app/controllers/push_type/auth_controller.rb
push_type_auth-0.12.0.beta.1 app/controllers/push_type/auth_controller.rb
push_type_auth-0.11.2 app/controllers/push_type/auth_controller.rb
push_type_auth-0.11.1 app/controllers/push_type/auth_controller.rb
push_type_auth-0.11.0.beta.2 app/controllers/push_type/auth_controller.rb
push_type_auth-0.11.0.beta.1 app/controllers/push_type/auth_controller.rb
push_type_auth-0.10.4 app/controllers/push_type/auth_controller.rb
push_type_auth-0.10.3 app/controllers/push_type/auth_controller.rb
push_type_auth-0.10.2 app/controllers/push_type/auth_controller.rb
push_type_auth-0.10.1 app/controllers/push_type/auth_controller.rb
push_type_auth-0.10.0 app/controllers/push_type/auth_controller.rb
push_type_auth-0.10.0.beta.5 app/controllers/push_type/auth_controller.rb