Skip to content

Commit

Permalink
Update plugin.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
schungx committed Sep 25, 2017
1 parent 1222c44 commit 747bed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 747bed4

Please sign in to comment.