Embed URL


SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

See the routes for a controller

View gist:328225
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
When you're in a controller. This will do a
routes CONTROLLER=...
so you can see the routes specific to that controller. Brilliant!
This ability comes from the Rails.vim plugin.
I've got this in my .vimrc:
nmap <leader>r :Rake<CR>
nmap <leader>R :.Rake<CR>
to make it easier to use :Rake and :.Rake.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.