If you want to have a Rails application work under a subdirectory, as in http://www.example.com/rails_app , then add this line to your config/environment.rb.
ActionController::AbstractRequest.relative_url_root = "/rails_app"
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment