Sha256: 32938f98441f54ff5c557ce929b9ac382875e03737e1bb0d74813e6fa13c7c8f

Contents?: true

Size: 240 Bytes

Versions: 1

Compression:

Stored size: 240 Bytes

Contents

module Formol
  module ViewHelpers
    module AssetsHelper
      def include_formol_javascripts
        path = controller.controller_path
        
        javascript_include_tag path if path.start_with?('formol')
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
formol-0.0.4 lib/formol/view_helpers/assets_helper.rb