Sha256: 0390ae40f1478c76b5515fdce3e267f7a3cbe026eef3336e54e849b84c7df609

Contents?: true

Size: 320 Bytes

Versions: 8

Compression:

Stored size: 320 Bytes

Contents

module Admin
  class SessionsController < Devise::SessionsController

    include Locomotive::Routing::SiteDispatcher

    layout '/admin/layouts/box'

    before_filter :require_site

    helper 'admin/base', 'admin/box'

    protected

    def after_sign_in_path_for(resource)
      admin_pages_url
    end

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
locomotive_cms-1.0.0.beta.2 app/controllers/admin/sessions_controller.rb
locomotive_cms-1.0.0.beta app/controllers/admin/sessions_controller.rb
locomotive_cms-0.0.4.beta12 app/controllers/admin/sessions_controller.rb
locomotive_cms-0.0.4.beta11 app/controllers/admin/sessions_controller.rb
locomotive_cms-0.0.4.beta10 app/controllers/admin/sessions_controller.rb
locomotive_cms-0.0.4.beta9 app/controllers/admin/sessions_controller.rb
locomotive_cms-0.0.4.beta8 app/controllers/admin/sessions_controller.rb
locomotive_cms-0.0.4.beta7 app/controllers/admin/sessions_controller.rb