orbit-basic/app/helpers/front_helper.rb

9 lines
195 B
Ruby
Raw Normal View History

2013-01-09 08:54:33 +00:00
module FrontHelper
def ad_image_link(ad_image)
link = ad_image.out_link
link =front_show_inner_ad_image_path(:id=> ad_image.id) if link.blank? && !ad_image.context.blank?
end
end