Created
August 27, 2014 15:09
-
-
Save hectorperez/1ebf9e780cb553abe9f3 to your computer and use it in GitHub Desktop.
change url name for Rails resource
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
resources :name, only: [:show], path: :url_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment