aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/dummy/app/controllers/application_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activestorage/test/dummy/app/controllers/application_controller.rb')
-rw-r--r--activestorage/test/dummy/app/controllers/application_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/activestorage/test/dummy/app/controllers/application_controller.rb b/activestorage/test/dummy/app/controllers/application_controller.rb
new file mode 100644
index 0000000000..280cc28ce2
--- /dev/null
+++ b/activestorage/test/dummy/app/controllers/application_controller.rb
@@ -0,0 +1,5 @@
+# frozen_string_literal: true
+
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+end