aboutsummaryrefslogtreecommitdiffstats
path: root/test/dummy/app/controllers
diff options
context:
space:
mode:
authorCristian Bica <cristian.bica@gmail.com>2014-08-05 09:05:14 +0300
committerCristian Bica <cristian.bica@gmail.com>2014-08-08 10:52:16 +0300
commit664546c208c406bba08b8eda2e6a600154d7232e (patch)
tree5a4c62c14e115ff4ee05212664bb2ff5b8595c38 /test/dummy/app/controllers
parent06ccd5f405a004275915102eb3ccc42b952ba549 (diff)
downloadrails-664546c208c406bba08b8eda2e6a600154d7232e.tar.gz
rails-664546c208c406bba08b8eda2e6a600154d7232e.tar.bz2
rails-664546c208c406bba08b8eda2e6a600154d7232e.zip
Integration testing
Diffstat (limited to 'test/dummy/app/controllers')
-rw-r--r--test/dummy/app/controllers/application_controller.rb3
-rw-r--r--test/dummy/app/controllers/concerns/.keep0
2 files changed, 3 insertions, 0 deletions
diff --git a/test/dummy/app/controllers/application_controller.rb b/test/dummy/app/controllers/application_controller.rb
new file mode 100644
index 0000000000..1c07694e9d
--- /dev/null
+++ b/test/dummy/app/controllers/application_controller.rb
@@ -0,0 +1,3 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery with: :exception
+end
diff --git a/test/dummy/app/controllers/concerns/.keep b/test/dummy/app/controllers/concerns/.keep
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/test/dummy/app/controllers/concerns/.keep