module SharkApps::ViewHelpers
Public Instance Methods
link_to(name, options = {}, html_options = {})
click to toggle source
Calls superclass method
# File lib/sharkapps/view_helpers.rb, line 2 def link_to(name, options = {}, html_options = {}) if params[:fb_sig_in_iframe] rel = url_for options url = "http://apps.facebook.com/" + 'eyal_coupons' + rel html_options[:href] = url html_options[:target] = "_top" super(name, {}, html_options) else super(name, options, html_options) end end
show_header_messages()
click to toggle source
# File lib/sharkapps/view_helpers.rb, line 19 def show_header_messages end
show_trial_info()
click to toggle source
# File lib/sharkapps/view_helpers.rb, line 15 def show_trial_info render :partial => "shared/trial_info" end