lib/tasks/js_routes.rake in js_routes-0.1.12 vs lib/tasks/js_routes.rake in js_routes-0.1.14
- old
+ new
@@ -1,4 +1,4 @@
desc "Generate js routes"
-task :js_routes do
+task :js_routes => :environment do
JsRoutes.generate_routes_file
end
- old
+ new