]> source.dussan.org Git - redmine.git/commitdiff
replace tabs to spaces at app/helpers/timelog_helper.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 16 Feb 2013 13:03:54 +0000 (13:03 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 16 Feb 2013 13:03:54 +0000 (13:03 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11406 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/timelog_helper.rb

index 224ff2f44393a2e4cb5119622198ac64c3ecda8e..cc4fbff4780f7259dd891ec49d9dd4367eddd062 100644 (file)
@@ -56,10 +56,10 @@ module TimelogHelper
   end
 
   def select_hours(data, criteria, value)
-       if value.to_s.empty?
-               data.select {|row| row[criteria].blank? }
+    if value.to_s.empty?
+      data.select {|row| row[criteria].blank? }
     else
-       data.select {|row| row[criteria].to_s == value.to_s}
+      data.select {|row| row[criteria].to_s == value.to_s}
     end
   end