module ImageHelperExtension
monkey patch image helpers
Public Instance Methods
flag_for_country( country )
click to toggle source
# File lib/sportweb/application.rb, line 25 def flag_for_country( country ) puts "*** image_helper/flag_for_country #{country.key}" if country.key == 'eng' ## quick fix/hack: eng=>en puts "*** use eng quick fix" # image_tag( "flags/24x24/en.png" ) '' else ## super # old_flag_for_country( country ) '' end end
logo_for_team( team )
click to toggle source
# File lib/sportweb/application.rb, line 19 def logo_for_team( team ) puts "*** image_helper/logo_for_team #{team.key}" ## super # old_logo_for_team( team ) '' end