Skip to content

Instantly share code, notes, and snippets.

@mikepack
Created September 6, 2011 22:46
Show Gist options
  • Select an option

  • Save mikepack/1199215 to your computer and use it in GitHub Desktop.

Select an option

Save mikepack/1199215 to your computer and use it in GitHub Desktop.

Revisions

  1. Mike Pack created this gist Sep 6, 2011.
    9 changes: 9 additions & 0 deletions gistfile1.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    namespace :wtp do
    namespace :jsroutes do
    desc "Regenerate routes for users"
    task :users do
    puts "Recreating routes for users..."
    JsRoutes.generate!({})
    end
    end
    end