7 8 9 10 11 12 13 14 15
# File 'lib/animalcracker.rb', line 7 def self.extended(base) base.get("*") do begin params[:splat].first.split(",").map { |asset_path| AssetHost[asset_path] || not_found } rescue NotFound not_found end end end