Sha256: af3cb662964a5b3f38b58b2690a1528e855f2a68064e97030b184341c33b656c
Contents?: true
Size: 352 Bytes
Versions: 5
Compression:
Stored size: 352 Bytes
Contents
module AMD::ControllerHelper def finder path = "#{params[:asset]}.amd" # It's important that the arg passed to asset_path already # be in precompile list module_path = ActionController::Base.helpers.asset_path(path, type: :javascript) redirect_to module_path end end
Version data entries
5 entries across 5 versions & 1 rubygems