Module: TradeTracker::Concerns::Click
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/trade_tracker/concerns/click.rb
Instance Method Summary collapse
Instance Method Details
#send_click_to_tradetracker(redirect_options = {}) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/trade_tracker/concerns/click.rb', line 6 def send_click_to_tradetracker( = {}) if tradetracker_click.trackback_url redirect_to tradetracker_click.trackback_url, else redirect_to root_path end end |