Sha256: 2b6ae1f17900ff4d9086d3d20721fc1d6d800a5553156c19f92d223cf2d6b693
Contents?: true
Size: 484 Bytes
Versions: 13
Compression:
Stored size: 484 Bytes
Contents
module Neo4j module MetaModel module ApplicationHelper def action_and_controller_javascript_include_tag capture do concat javascript_include_tag controller_path if Rails.root.join("app/assets/javascripts/#{controller_path}.js.coffee").exist? concat javascript_include_tag "#{controller_path}/#{action_name}" if Rails.root.join("app/assets/javascripts/#{controller_path}/#{action_name}.js.coffee").exist? end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems