Corrected with rubocop cop 'Style/HashSyntax'.
This commit is contained in:
parent
b235aa2a79
commit
92ca9f1bcd
1 changed files with 2 additions and 2 deletions
|
@ -606,8 +606,8 @@ class OwnModel < ApplicationModel
|
|||
class_name = self.class.name
|
||||
class_name.gsub!(/::/, '')
|
||||
Sessions.broadcast(
|
||||
:event => class_name + ':touch',
|
||||
:data => { :id => self.id, :updated_at => self.updated_at }
|
||||
event: class_name + ':touch',
|
||||
data: { id: self.id, updated_at: self.updated_at }
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue