Commit Graph

10 Commits (master)

Author SHA1 Message Date
Michael Noack dc82528e8b Plugins shouldn't load the environment as this creates circular dependencies. 2010-01-27 17:08:55 +10:30
Adam Davies 7484b6da27 Added README 2009-10-28 18:21:51 +10:30
Adam Davies a863e01546 Minor vertical spacing 2009-06-10 15:03:02 +09:30
Adam Davies 46802f5085 Regenerated routes-min.js with new '_path' postfix to routes 2009-06-10 15:02:50 +09:30
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