Skip to content

Instantly share code, notes, and snippets.

@mikepack
Created September 6, 2011 22:46
Show Gist options
  • Save mikepack/1199215 to your computer and use it in GitHub Desktop.
Save mikepack/1199215 to your computer and use it in GitHub Desktop.
namespace :wtp do
namespace :jsroutes do
desc "Regenerate routes for users"
task :users do
puts "Recreating routes for users..."
JsRoutes.generate!({})
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment