sub_uri.rb 161 Bytes
Newer Older
1 2 3 4 5 6 7 8

p = AppConfig[ :pod_uri].path
if p and not p.empty? and p != "/"
    Rails.application.routes.default_url_options = { :script_name => p }
else
    p = nil
end