diff options
Diffstat (limited to 'app/controllers/application_controller.rb')
| -rw-r--r-- | app/controllers/application_controller.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 6635a3f..b481317 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb | |||
| @@ -2,9 +2,11 @@ | |||
| 2 | # Likewise, all the methods added will be available for all controllers. | 2 | # Likewise, all the methods added will be available for all controllers. |
| 3 | 3 | ||
| 4 | class ApplicationController < ActionController::Base | 4 | class ApplicationController < ActionController::Base |
| 5 | include AuthenticatedSystem | ||
| 6 | |||
| 5 | helper :all # include all helpers, all the time | 7 | helper :all # include all helpers, all the time |
| 6 | protect_from_forgery # See ActionController::RequestForgeryProtection for details | 8 | protect_from_forgery # See ActionController::RequestForgeryProtection for details |
| 7 | 9 | ||
| 8 | # Scrub sensitive parameters from your log | 10 | # Scrub sensitive parameters from your log |
| 9 | # filter_parameter_logging :password | 11 | filter_parameter_logging :password, :password_confirmation |
| 10 | end | 12 | end |
