1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

Generate tag once per request.

git-svn-id: http://svn.redmine.org/redmine/trunk@14178 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2015-04-14 16:59:04 +00:00
parent b4a8adc147
commit 0a32e898f1

View File

@ -1117,7 +1117,7 @@ module ApplicationHelper
def checked_image(checked=true)
if checked
image_tag 'toggle_check.png'
@checked_image_tag ||= image_tag('toggle_check.png')
end
end