module Feste::TemplateHelper
Public Instance Methods
subscription_url()
click to toggle source
Return the absolute path to subscriptions#index with the proper subscription token to identify the subscriber.
@return [String]
# File lib/feste/template_helper.rb, line 7 def subscription_url host = Feste.options[:host] || ActionMailer::Base.default_url_options[:host] Feste::Engine.routes.url_helpers.subscriptions_url( token: @_subscription_token, host: host ) end