Sha256: 58121f2dd178ea1f154f01f4cd479eabc2930a764aa4378f0fa1da52f403ed82

Contents?: true

Size: 309 Bytes

Versions: 15

Compression:

Stored size: 309 Bytes

Contents

# encoding: utf-8

module ConstructorCore
  class SessionsController < Devise::SessionsController
    layout 'constructor_core/application_admin'
    
    def after_sign_in_path_for(resource)
      return '/admin/pages'
    end
    
    def after_sign_out_path_for(resource)
      return '/'
    end
  end
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
constructor-core-0.3.3 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.3.2 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.3.1 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.3.0 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.2.14 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.2.12 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.2.11 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.2.10 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.2.9 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.2.8 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.2.6 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.2.5 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.2.4 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.2.1 app/controllers/constructor_core/sessions_controller.rb
constructor-cms-0.2.1 core/app/controllers/constructor_core/sessions_controller.rb