This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/helpers/front_helper.rb

9 lines
204 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
2013-01-11 03:28:13 +00:00
link = front_show_inner_ad_image_path(:id=> ad_image.id) if link.blank? && !ad_image.context.blank?
link
2013-01-09 08:54:33 +00:00
end
end