From b235aa2a799bffb36279290aca3204892df4c724 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Fri, 1 May 2015 13:53:35 +0200 Subject: [PATCH] Corrected with rubocop cop 'Style/IndentationConsistency'. --- Gemfile | 28 ++++++++++++++-------------- app/models/online_notification.rb | 4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Gemfile b/Gemfile index 8034211c5..7563fcfdb 100644 --- a/Gemfile +++ b/Gemfile @@ -63,24 +63,24 @@ gem 'em-websocket' group :development, :test do gem 'test-unit' - gem 'spring' - gem 'sqlite3' + gem 'spring' + gem 'sqlite3' - # code coverage - gem 'simplecov' - gem 'simplecov-rcov' + # code coverage + gem 'simplecov' + gem 'simplecov-rcov' - # UI tests w/ Selenium - gem 'selenium-webdriver' + # UI tests w/ Selenium + gem 'selenium-webdriver' - # livereload on template changes (html, js, css) - gem 'guard', '>= 2.2.2', require: false - gem 'guard-livereload', require: false - gem 'rack-livereload' - gem 'rb-fsevent', require: false + # livereload on template changes (html, js, css) + gem 'guard', '>= 2.2.2', require: false + gem 'guard-livereload', require: false + gem 'rack-livereload' + gem 'rb-fsevent', require: false - # code QA - gem 'rubocop' + # code QA + gem 'rubocop' end gem 'puma' diff --git a/app/models/online_notification.rb b/app/models/online_notification.rb index baa9e6f66..a73aedc72 100644 --- a/app/models/online_notification.rb +++ b/app/models/online_notification.rb @@ -57,8 +57,8 @@ mark online notification as seen def self.seen(data) notification = OnlineNotification.find(data[:id]) - notification.seen = true - notification.save + notification.seen = true + notification.save end =begin