diff options
| author | mo khan <mo@mokhan.ca> | 2014-09-18 12:06:22 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-09-18 12:06:22 -0600 |
| commit | 45898d910cfbb9595f6fdc987f0196386c26991d (patch) | |
| tree | ca1585492150b79bfc1d986ee58e73e472218fda /app/controllers/application_controller.rb | |
| parent | f7e9cb536168277db3e7caa1790a8778a2d2f12c (diff) | |
remove old devise files and fix email templates
Diffstat (limited to 'app/controllers/application_controller.rb')
| -rw-r--r-- | app/controllers/application_controller.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 446b0d12..f8cce03f 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -3,7 +3,6 @@ class ApplicationController < ActionController::Base # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception before_action :load_header - #before_action :configure_permitted_parameters, if: :devise_controller? #before_action :extend_session_cookie helper_method :current_user, :user_signed_in? rescue_from ActiveRecord::RecordNotFound, with: :record_not_found @@ -20,12 +19,6 @@ class ApplicationController < ActionController::Base current_user end - #protected - - #def configure_permitted_parameters - #devise_parameter_sanitizer.for(:user) { |u| u.permit(:name, :city, :email) } - #end - private def load_header |
