We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a43f070 commit 1c86466Copy full SHA for 1c86466
app/controllers/comments_controller.rb
@@ -1,5 +1,6 @@
1
class CommentsController < ApplicationController
2
cache_sweeper :code_and_comment_sweeper
3
+ skip_before_filter :verify_authenticity_token
4
def create
5
@code = Code.find params[:code_id]
6
@comment = @code.build_comment params[:comment]
0 commit comments