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:
okriuchykhin 2018-01-31 15:40:09 +01:00 committed by GitHub
commit def08a3faa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -100,7 +100,7 @@ Style/HashSyntax:
Style/IfUnlessModifier:
Enabled: true
MaxLineLength: 80
Metrics/LineLength: 80
Layout/IndentationConsistency:
EnforcedStyle: normal

View file

@ -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