Created
April 27, 2012 00:57
-
-
Save joncode/2504705 to your computer and use it in GitHub Desktop.
Rails Routes explained
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
| <%= link_to 'Back', @cart %> | |
| links you back to the controller and show action for @cart | |
| <%= link to controller: 'store', action: 'new' %> | |
| is now | |
| <%= link to new_store_path %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment