Enable Style/IndentationWidth cop

The offenses were fixed manually
This commit is contained in:
AEtherC0r3 2017-07-05 23:31:22 +03:00 committed by Stella Rouzi
parent e3b51dfc2b
commit 9c58397cd2
6 changed files with 71 additions and 83 deletions

View file

@ -60,7 +60,7 @@ class ConferenceSerializer < ActiveModel::Serializer
def date_range
if defined? date_string(object.start_date, object.end_date)
date_string(object.start_date, object.end_date).try(:split, ',').try(:first)
date_string(object.start_date, object.end_date).try(:split, ',').try(:first)
end
end
end