Sha256: a04c174908c1423344282ae2e987343cfaed2096090be6ec83cf16b679e33907

Contents?: true

Size: 295 Bytes

Versions: 25

Compression:

Stored size: 295 Bytes

Contents

# encoding: utf-8

module ConstructorCore
  class SessionsController < Devise::SessionsController
    layout 'constructor_core/application'

    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

25 entries across 25 versions & 3 rubygems

Version Path
constructor-core-0.7.4 app/controllers/constructor_core/sessions_controller.rb
constructor-pages-0.7.3 core/app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.7.3 core/app/controllers/constructor_core/sessions_controller.rb
constructor-cms-0.7.3 core/app/controllers/constructor_core/sessions_controller.rb
constructor-pages-0.7.2 core/app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.7.2 core/app/controllers/constructor_core/sessions_controller.rb
constructor-cms-0.7.2 core/app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.7.1 core/app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.7.0 app/controllers/constructor_core/sessions_controller.rb
constructor-cms-0.7.0 core/app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.6.4 app/controllers/constructor_core/sessions_controller.rb
constructor-cms-0.6.4 core/app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.6.3 app/controllers/constructor_core/sessions_controller.rb
constructor-cms-0.6.3 core/app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.6.2 app/controllers/constructor_core/sessions_controller.rb
constructor-cms-0.6.2 core/app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.6.1 app/controllers/constructor_core/sessions_controller.rb
constructor-cms-0.6.1 core/app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.6.0 app/controllers/constructor_core/sessions_controller.rb
constructor-cms-0.6.0 core/app/controllers/constructor_core/sessions_controller.rb