Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak URL path prefix patch to address feedback from xaviershay
When reviewing my pull request, xaviershay requested these changes: * Use ActionController::Base.config.relative_url_root instead of ENV['RAILS_RELATIVE_URL_ROOT'] in the UrlHelper and rackup.ru * Mention the feature in the README, because it won't be found in config/application.rb Implement these, but use Rails.configuration instead of ActionController::Base.config, as it seems like the current Rails best practice.
- Loading branch information
Marcel M. Cary
committed
Apr 18, 2013
1 parent
925cf43
commit 06bdeaf
Showing
3 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
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
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
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