app/controllers/monologue/admin/base_controller.rb in monologue-0.3.0 vs app/controllers/monologue/admin/base_controller.rb in monologue-0.4.0

- old
+ new

@@ -1,12 +1,6 @@ class Monologue::Admin::BaseController < Monologue::ApplicationController - before_filter :authenticate_user! - force_ssl if Monologue.admin_force_ssl # TODO: find a way to test that with capybara + include Monologue::ControllerHelpers::Auth + force_ssl if Monologue::Config.admin_force_ssl # TODO: find a way to test that with capybara layout "layouts/monologue/admin" - - def authenticate_user! - if monologue_current_user.nil? - redirect_to admin_login_url, alert: I18n.t("monologue.admin.login.need_auth") - end - end end \ No newline at end of file