Created
May 17, 2012 15:24
-
-
Save arjan0307/2719621 to your computer and use it in GitHub Desktop.
Nested routes without parent 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
# How to get just the comment routes, and not the post routes | |
resources :posts do | |
resources :comments | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment