Skip to content

Commit

Permalink
Fix like submissions
Browse files Browse the repository at this point in the history
  • Loading branch information
jcraigk committed Oct 7, 2023
1 parent 45fb9ce commit 3a5cb93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/likes_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
class LikesController < ApplicationController
skip_before_action :verify_authenticity_token
before_action :authorize_user!

def toggle_like
Expand Down

0 comments on commit 3a5cb93

Please sign in to comment.