Created
March 10, 2010 19:10
-
-
Save duff/328225 to your computer and use it in GitHub Desktop.
See the routes for a controller
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :.Rake | |
| 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