Skip to content

Commit

Permalink
don't require an authenticity token when posting
Browse files Browse the repository at this point in the history
not sure how ember-cli generates these, but we're unable to deploy some TED
frontends with this filter in place.
  • Loading branch information
alexdean committed Mar 29, 2019
1 parent 98c4ec8 commit 255a043
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/front_end_builds/application_controller.rb
@@ -1,5 +1,6 @@
module FrontEndBuilds
class ApplicationController < ActionController::Base
skip_before_action :verify_authenticity_token

# Public: A quick helper to create a respond_to block for
# returning json to the client. Used because `respond_with`
Expand Down

1 comment on commit 255a043

@alexdean
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think the error is caused by this change, which enables forgery protection directly in ActionController::Base. (Formerly this would be done in an application's ApplicationController.)

Please sign in to comment.