summaryrefslogtreecommitdiff
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
new file mode 100644
index 0000000..6635a3f
--- /dev/null
+++ b/app/controllers/application_controller.rb
@@ -0,0 +1,10 @@
1# Filters added to this controller apply to all controllers in the application.
2# Likewise, all the methods added will be available for all controllers.
3
4class ApplicationController < ActionController::Base
5 helper :all # include all helpers, all the time
6 protect_from_forgery # See ActionController::RequestForgeryProtection for details
7
8 # Scrub sensitive parameters from your log
9 # filter_parameter_logging :password
10end