Created
December 12, 2013 12:14
-
-
Save between40and2/7927121 to your computer and use it in GitHub Desktop.
rails-routes-in-depth
This file contains 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
Do you know, you can access your own rails website on /rails/info/routes , under development environment? | |
The working house is shown below. | |
https://github.com/rails/rails/blob/master/railties/lib/rails/info_controller.rb | |
In turn, ActionDispatch::Routing::RoutesInspector is the real hero. Linked below. | |
https://github.com/rails/rails/blob/master/actionpack/lib/action_dispatch/routing/inspector.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment