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

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?
link
end
end