diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-20 10:54:18 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-20 10:54:18 +0000 |
commit | 0c0bf29edbad41c581e81fd466a9b2a4a5c01cd5 (patch) | |
tree | f78407b9c554b41acb57813d9694d29fc2fb46ab /app | |
parent | e9579b10ba40f9601b21312c8ba043ef6825a74a (diff) | |
download | redmine-0c0bf29edbad41c581e81fd466a9b2a4a5c01cd5.tar.gz redmine-0c0bf29edbad41c581e81fd466a9b2a4a5c01cd5.zip |
Rails3: use String#html_hours for principals_check_box_tags() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6481 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 44c21e81b..0fc2e9f43 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -322,7 +322,7 @@ module ApplicationHelper end def html_hours(text) - text.gsub(%r{(\d+)\.(\d+)}, '<span class="hours hours-int">\1</span><span class="hours hours-dec">.\2</span>') + text.gsub(%r{(\d+)\.(\d+)}, '<span class="hours hours-int">\1</span><span class="hours hours-dec">.\2</span>').html_safe end def authoring(created, author, options={}) |