Sha256: b1019f5a4cbdd78fdab6a2868ff0f95af31171bb39679660481ac05636108995

Contents?: true

Size: 583 Bytes

Versions: 1

Compression:

Stored size: 583 Bytes

Contents

module <%= class_name %>
  module ApplicationHelper
    extend ActiveSupport::Concern

    included do
      include AttributeHelper
      include BooleanHelper
      include DatalinkHelper
      include ErbHelper
      include FlashHelper
      include GlipperHelper
      include HtmlDomHelper
      include I18nHelper
      include NumberToPercentageHelper
      include SentenceHelper
      include TimeFormatHelper
      include TitleHelper
    end

    protected

    def glip(resource)
      ::<%= class_name %>::ApplicationDrapper.decorate(resource, self)
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
billet-0.0.1 lib/generators/billet/namespace/templates/helpers/application_helper.rb.erb