summaryrefslogtreecommitdiffstats
path: root/app/helpers/timelog_helper.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-02-16 13:03:54 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-02-16 13:03:54 +0000
commit5778bdd4f7c38f1bf05e890bda1dc6643d7a5955 (patch)
treee4f4673076e7bf4228c853441118695e5f00b041 /app/helpers/timelog_helper.rb
parent7799788b3de62a6af32c9d573904a929992d7ab0 (diff)
downloadredmine-5778bdd4f7c38f1bf05e890bda1dc6643d7a5955.tar.gz
redmine-5778bdd4f7c38f1bf05e890bda1dc6643d7a5955.zip
replace tabs to spaces at app/helpers/timelog_helper.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11406 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/timelog_helper.rb')
-rw-r--r--app/helpers/timelog_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb
index 224ff2f44..cc4fbff47 100644
--- a/app/helpers/timelog_helper.rb
+++ b/app/helpers/timelog_helper.rb
@@ -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