diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-06 18:03:30 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-06 18:03:30 +0100 |
commit | f406e01fcf7d69045cf3ad8ea8dea51acd85535b (patch) | |
tree | b1b2c5ac8c44d3b3f4a69e05a707ce641fc4a48a /app/controllers/settings/preferences_controller.rb | |
parent | 2488162733df7d940e1cb26e5ece534c1078f4c8 (diff) |
Add filters for suspended accounts
Diffstat (limited to 'app/controllers/settings/preferences_controller.rb')
-rw-r--r-- | app/controllers/settings/preferences_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/settings/preferences_controller.rb b/app/controllers/settings/preferences_controller.rb index cacc03b65..692cf95ac 100644 --- a/app/controllers/settings/preferences_controller.rb +++ b/app/controllers/settings/preferences_controller.rb @@ -5,8 +5,7 @@ class Settings::PreferencesController < ApplicationController before_action :authenticate_user! - def show - end + def show; end def update current_user.settings(:notification_emails).follow = user_params[:notification_emails][:follow] == '1' |