mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-25 09:13:05 +08:00
Update notification settings accessor names and update Rubocop config [SCI-1968]
This commit is contained in:
parent
e8f6dc0d24
commit
7a769bbfde
2 changed files with 4 additions and 4 deletions
|
@ -100,7 +100,7 @@ Style/HashSyntax:
|
||||||
|
|
||||||
Style/IfUnlessModifier:
|
Style/IfUnlessModifier:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
MaxLineLength: 80
|
Metrics/LineLength: 80
|
||||||
|
|
||||||
Layout/IndentationConsistency:
|
Layout/IndentationConsistency:
|
||||||
EnforcedStyle: normal
|
EnforcedStyle: normal
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
json.user do
|
json.user do
|
||||||
json.notifications do
|
json.notifications do
|
||||||
json.assignments user.assignments_notification
|
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 user.recent_notification
|
||||||
json.recent_email user.recent_notification_email
|
json.recent_email user.recent_email_notification
|
||||||
json.system_message_email user.system_message_notification_email
|
json.system_message_email user.system_message_email_notification
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue