Skip to content

Commit

Permalink
[webui] fix configuration URI
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed Feb 1, 2013
1 parent dd38728 commit a92c109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/app/controllers/application_controller.rb
Expand Up @@ -347,7 +347,7 @@ def require_configuration
begin
@configuration = Rails.cache.fetch('configuration', :expires_in => 30.minutes) do
# we need to use the public route here or speaking to remote apis behind a proxy will fail.
response = ActiveXML::transport.direct_http(URI('public/configuration.json'))
response = ActiveXML::transport.direct_http(URI('/public/configuration.json'))
ActiveSupport::JSON.decode(response)
end
rescue ActiveXML::Transport::NotFoundError
Expand Down

0 comments on commit a92c109

Please sign in to comment.