Created
February 14, 2013 09:03
-
-
Save senny/4951454 to your computer and use it in GitHub Desktop.
CONTROLLER environment variable to filter routes
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 routes | |
root GET / pages#home | |
» export CONTROLLER='non-existing-controller' | |
» rake routes | |
» unset CONTROLLER | |
» rake routes | |
root GET / pages#home |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment