Your routes, in JavaScript
 
 
Go to file
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
bin Initial commit 2008-04-17 11:47:13 +02:00
lib Added '_path' to routes so you say Routes.bookings_path() instead of Routes.booking() 2009-06-10 14:53:58 +09:30
tasks Initial commit 2008-04-17 11:47:13 +02:00
test Initial commit 2008-04-17 11:47:13 +02:00
README That was totally the wrong repository 2009-03-12 16:24:35 +01:00
Rakefile Initial commit 2008-04-17 11:47:13 +02:00
init.rb Removed auto-generate on boot, as routes don't seem to load at time of init 2009-06-10 14:56:46 +09:30
install.rb Initial commit 2008-04-17 11:47:13 +02:00
uninstall.rb Initial commit 2008-04-17 11:47:13 +02:00

README

JavascriptRoutes
================

Description goes here