Sha256: 94c4a07133fd993e727099558080bac892bcd082ec4ea670d231ef9da50bad7e

Contents?: true

Size: 286 Bytes

Versions: 8

Compression:

Stored size: 286 Bytes

Contents

module Admin
  class SessionsController < Devise::SessionsController
    
    include Locomotive::Routing::SiteDispatcher

    layout 'admin/login'
  
    before_filter :require_site
  
    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-0.0.2.2 app/controllers/admin/sessions_controller.rb
locomotive_cms-0.0.2.1 app/controllers/admin/sessions_controller.rb
locomotive_cms-0.0.2 app/controllers/admin/sessions_controller.rb
locomotive_cms-0.0.1.4 app/controllers/admin/sessions_controller.rb
locomotive_cms-0.0.1.3 app/controllers/admin/sessions_controller.rb
locomotive_cms-0.0.1.2 app/controllers/admin/sessions_controller.rb
locomotive_cms-0.0.1.1 app/controllers/admin/sessions_controller.rb
locomotive_cms-0.0.1 app/controllers/admin/sessions_controller.rb