From 92ca9f1bcd02cd459f1081fe7a8a7d52d13f60df Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Fri, 1 May 2015 13:55:23 +0200 Subject: [PATCH] Corrected with rubocop cop 'Style/HashSyntax'. --- app/models/application_model.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/application_model.rb b/app/models/application_model.rb index e2e50d9c8..f7ea1325b 100644 --- a/app/models/application_model.rb +++ b/app/models/application_model.rb @@ -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