remove link to remote

This commit is contained in:
albert
2013-01-06 13:35:18 -05:00
parent 78fd9a4874
commit 5789b54613

View File

@@ -4,7 +4,7 @@ module AdvertisementsHelper
@advertisement = Advertisement.find(:first, :conditions => ["ad_type = ? AND status = 'active'", ad_type], :order => "random()")
content_tag(
"div",
link_to_remote(
link_to(
image_tag(
@advertisement.image_url,
:alt => "Advertisement",