Sha256: 66f10e28614895f5c845d50bc375b2b736519482934355573f26f23e61027f68

Contents?: true

Size: 208 Bytes

Versions: 12

Compression:

Stored size: 208 Bytes

Contents

module Commontator
  module SubscriptionsHelper
    def commontator_email(user)
      config = user.commontator_config
      config.email_method.blank? ? '' : user.send(config.email_method)
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
commontator-1.1.1 app/helpers/commontator/subscriptions_helper.rb~
commontator-1.1.0 app/helpers/commontator/subscriptions_helper.rb~
commontator-1.0.6 app/helpers/commontator/subscriptions_helper.rb~
commontator-1.0.5 app/helpers/commontator/subscriptions_helper.rb~
commontator-1.0.4 app/helpers/commontator/subscriptions_helper.rb~
commontator-1.0.3 app/helpers/commontator/subscriptions_helper.rb~
commontator-1.0.2 app/helpers/commontator/subscriptions_helper.rb~
commontator-1.0.1 app/helpers/commontator/subscriptions_helper.rb~
commontator-1.0.0 app/helpers/commontator/subscriptions_helper.rb~
commontator-0.5.14 app/helpers/commontator/subscriptions_helper.rb~
commontator-0.5.13 app/helpers/commontator/subscriptions_helper.rb~
commontator-0.5.12 app/helpers/commontator/subscriptions_helper.rb~