Created
February 22, 2012 18:41
-
-
Save dnshl/1886575 to your computer and use it in GitHub Desktop.
Tailing slashes in rails 3 applications
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
# Put this in your application.rb file under the config directory in your rails 3 app. | |
# Found here http://stackoverflow.com/a/9088501 | |
config.action_controller.default_url_options = { :trailing_slash => true } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment