Created
February 4, 2015 12:04
-
-
Save aishek/7697a92c5f9a56c8d3d4 to your computer and use it in GitHub Desktop.
trailing_slash example
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
# config/application.rb | |
# ... | |
module Example | |
class Application < Rails::Application | |
# ... | |
config.action_controller.default_url_options = { :trailing_slash => true } | |
config.action_mailer.default_url_options = { :trailing_slash => true } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment