Commit graph

6 commits

Author SHA1 Message Date
Adam Davies 984317e4fc Simplified logic & added comments to main routes.rb generator, and removed compression
Kept compression of route list, but removed compression of route names.  This compression was working by finding words > 5 chars, and encoding them in #{}, then decoding upon load in browser.  Since the difference wasn't really great, and caused extra work for browser, I took it out.
2009-06-10 15:02:25 +09:30
Adam Davies 0e4f9ab13b Removed auto-generate on boot, as routes don't seem to load at time of init
Add this code to environment.rb at bottom (after all other things are loaded):

# Generate routes now...
JavascriptRoutes.generate(:lite => ENV['ROUTES_JS_LITE'])
2009-06-10 14:56:46 +09:30
Adam Davies 3c50f3c5ce Added '_path' to routes so you say Routes.bookings_path() instead of Routes.booking() 2009-06-10 14:53:58 +09:30
Tore Darell ab7f7f1b53 That was totally the wrong repository
This reverts commit 9172de8d8e.
2009-03-12 16:24:35 +01:00
toretore 9172de8d8e Added deprecation message. 2009-03-11 12:40:10 -07:00
Tore Darell 2ea0ee5b85 Initial commit 2008-04-17 11:47:13 +02:00