sonnym/js-asset_paths

View on GitHub
lib/js-asset_paths.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'action_view/helpers/asset_url_helper'

require 'js_asset_paths/version'
require 'js_asset_paths/engine'
require 'js_asset_paths/generator'

module JsAssetPaths
  ASSET_METHODS = ActionView::Helpers::AssetUrlHelper.public_instance_methods.grep(/^((?!.*asset)[a-z]+)_path$/)
end