Sha256: 3d480c0e0a1496fe23ff4bd355df9a8d2fe1d305b94777c92f9277d64bd42413

Contents?: true

Size: 126 Bytes

Versions: 15

Compression:

Stored size: 126 Bytes

Contents

module Admin::NewsletterHelper

  def receiver(r)
    if r.instance_of?(User)
      r
    else
      r.user
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kit_cms-2.3.22 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.20 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.19 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.18 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.17 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.16 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.15 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.14 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.13 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.11 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.10 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.9 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.8 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.7 app/helpers/admin/newsletter_helper.rb
kit_cms-2.3.6 app/helpers/admin/newsletter_helper.rb