diff --git a/plugin.rb b/plugin.rb index 399e963..62e8c85 100644 --- a/plugin.rb +++ b/plugin.rb @@ -27,7 +27,7 @@ class Engine < ::Rails::Engine end class ::Retort::RetortsController < ApplicationController - before_filter :verify_post_and_user, only: :update + before_action :verify_post_and_user, only: :update def update retort.toggle_user(current_user)