Sha256: 28ba7a1c25e48ba947298bf375207a71fc81279b01a5d19c1e4cf93c171d7d51
Contents?: true
Size: 421 Bytes
Versions: 26
Compression:
Stored size: 421 Bytes
Contents
module Jammit module Routes # Jammit uses a single route in order to slow down Rails' routing speed # by the absolute minimum. In your config/routes.rb file, call: # Jammit::Routes.draw(map) # Passing in the routing "map" object. def self.draw(map) map.jammit "/#{Jammit.package_path}/:package.:extension", :controller => 'jammit', :action => 'package' end end end
Version data entries
26 entries across 26 versions & 3 rubygems