spec/dummy/app/controllers/application_controller.rb in authenticate-0.6.1 vs spec/dummy/app/controllers/application_controller.rb in authenticate-0.7.0
- old
+ new
@@ -1,7 +1,8 @@
class ApplicationController < ActionController::Base
include Authenticate::Controller
- before_action :require_authentication
+ # before_action :require_authentication
+ before_action :require_login
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
protect_from_forgery with: :exception
end