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.5.8 app/controllers/constructor_core/sessions_controller.rb
constructor-cms-0.5.8 core/app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.5.7 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.5.6 app/controllers/constructor_core/sessions_controller.rb
constructor-core-0.5.5 app/controllers/constructor_core/sessions_controller.rb