mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-13 16:45:18 +08:00
Merge pull request #971 from okriuchykhin/ok_SCI_1968
Update notification settings accessor names and update Rubocop config [SCI-1968]
This commit is contained in:
commit
def08a3faa
2 changed files with 4 additions and 4 deletions
|
@ -100,7 +100,7 @@ Style/HashSyntax:
|
|||
|
||||
Style/IfUnlessModifier:
|
||||
Enabled: true
|
||||
MaxLineLength: 80
|
||||
Metrics/LineLength: 80
|
||||
|
||||
Layout/IndentationConsistency:
|
||||
EnforcedStyle: normal
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
json.user do
|
||||
json.notifications do
|
||||
json.assignments user.assignments_notification
|
||||
json.assignments_email user.assignments_notification_email
|
||||
json.assignments_email user.assignments_email_notification
|
||||
json.recent user.recent_notification
|
||||
json.recent_email user.recent_notification_email
|
||||
json.system_message_email user.system_message_notification_email
|
||||
json.recent_email user.recent_email_notification
|
||||
json.system_message_email user.system_message_email_notification
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue