Skip to content

Commit

Permalink
Dashboard AssetsController does not raise if verify_authenticity_toke…
Browse files Browse the repository at this point in the history
…n is not in the callback chain (#284)
  • Loading branch information
bensheldon committed Jun 29, 2021
1 parent 4a26770 commit 01b7c13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/app/controllers/good_job/assets_controller.rb
@@ -1,6 +1,6 @@
module GoodJob
class AssetsController < ActionController::Base # rubocop:disable Rails/ApplicationController
skip_before_action :verify_authenticity_token
skip_before_action :verify_authenticity_token, raise: false

before_action do
expires_in 1.year, public: true
Expand Down

0 comments on commit 01b7c13

Please sign in to comment.