javascript_routes/init.rb
2008-04-17 11:47:13 +02:00

4 lines
126 B
Ruby

require 'javascript_routes'
ActionController::Routing::Routes.load!
JavascriptRoutes.generate(:lite => ENV['ROUTES_JS_LITE'])