mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +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:
parent
b4a8adc147
commit
0a32e898f1
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user