Add sub-uri

This commit is contained in:
yan 2013-08-11 15:05:55 +08:00
parent 5c0f8e6438
commit fcf9608dc9
2 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,9 @@
# This file is used by Rack-based servers to start the application. # This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__) require ::File.expand_path('../config/environment', __FILE__)
#run RedmineApp::Application
map ActionController::Base.config.relative_url_root || "/" do
run RedmineApp::Application run RedmineApp::Application
end

View File

@ -7,4 +7,4 @@
# config.log_level = :debug # config.log_level = :debug
# ... # ...
# #
#config.relative_url_root = '/socialforge'