mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-10 14:46:42 +08:00
Merge pull request #1149 from Ducz0r/lm-remove-unnecessary-save-on-notifications
Remove unnecessary save on notifications
This commit is contained in:
commit
91673afbf3
1 changed files with 0 additions and 1 deletions
|
@ -431,7 +431,6 @@ class User < ApplicationRecord
|
|||
define_method("#{name}=") do |value|
|
||||
attr_name = name.gsub('_notification', '').to_sym
|
||||
notifications_settings[attr_name] = value
|
||||
save
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue