module AMD::ControllerHelper
Public Instance Methods
finder()
click to toggle source
# File lib/amd/controller_helper.rb, line 3 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