engine/app/controllers/admin/sessions_controller.rb

19 lines
330 B
Ruby
Raw Normal View History

module Admin
class SessionsController < Devise::SessionsController
2010-04-22 23:52:11 +00:00
include Locomotive::Routing::SiteDispatcher
2010-04-22 23:52:11 +00:00
2010-06-03 15:32:40 +00:00
layout 'admin/login'
2010-04-22 23:52:11 +00:00
before_filter :require_site
helper 'admin/base', 'admin/login'
2010-04-22 23:52:11 +00:00
protected
def after_sign_in_path_for(resource)
admin_pages_url
end
end
2010-04-22 23:52:11 +00:00
end