spec/dummy/app/controllers/application_controller.rb in rails-acu-1.3.0 vs spec/dummy/app/controllers/application_controller.rb in rails-acu-2.0.0

- old
+ new

@@ -1,4 +1,4 @@ class ApplicationController < ActionController::Base protect_from_forgery with: :exception - before_action { Acu::Monitor.by user: current_user } + before_action { Acu::Monitor.gaurd by: { user: current_user } } end