module CabezaDeTermo::AssetsPublisher::Helper

The View helper. To use it, add this to your view:

module Web
        module Views
          class YourView
          include CabezaDeTermo::AssetsPublisher::Helper
        ...
          end
          end
end

This will publish only one method to your views: assets_publisher. From that method you can call the Publisher protocol.

Public Instance Methods

assets_publisher() click to toggle source

Answer the Publisher to collect and publish stylesheets and javascripts from your current view.

# File lib/cabeza-de-termo/assets-publisher/helpers/helper.rb, line 22
def assets_publisher
        Publisher.new
end