stubs/inertia-common/app/controllers/concerns/validate_signature.rb in kaze-0.9.0 vs stubs/inertia-common/app/controllers/concerns/validate_signature.rb in kaze-0.10.0
- old
+ new
@@ -1,10 +1,10 @@
module ValidateSignature
extend ActiveSupport::Concern
included do
before_action do
- render file: "#{Rails.root}/public/404.html", layout: false, status: :not_found unless has_valid_signature?
+ render file: "#{Rails.root}/public/404.html", layout: false, status: :not_found unless has_valid_signature?
end
end
private