diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-10 17:25:10 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2017-01-10 17:25:10 +0100 |
commit | 312c51b5c87e23c62d163770d550dc94df32627f (patch) | |
tree | 29b29205d4c08176bb271854ab82406211b645c5 /app/controllers/api | |
parent | 1e9d2c4b1e00e8e68fefe5c04b48f66c827d31d5 (diff) |
Home column filters
Diffstat (limited to 'app/controllers/api')
-rw-r--r-- | app/controllers/api/web/settings_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/web/settings_controller.rb b/app/controllers/api/web/settings_controller.rb index e6f690114..c00e016a4 100644 --- a/app/controllers/api/web/settings_controller.rb +++ b/app/controllers/api/web/settings_controller.rb @@ -6,7 +6,7 @@ class Api::Web::SettingsController < ApiController before_action :require_user! def update - setting = Web::Setting.where(user: current_user).first_or_initialize(user: current_user) + setting = ::Web::Setting.where(user: current_user).first_or_initialize(user: current_user) setting.data = params[:data] setting.save! |