Skip to content

Commit

Permalink
used full namespace to prepare for switching to module
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Glasner committed Apr 6, 2010
1 parent 863d98a commit 46c0916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nimble_nodes/server.rb
Expand Up @@ -10,7 +10,7 @@ class Server
def self.get(path)
begin
path = NimbleNodes::App.path(path)
uri = uri_with_token(path)
uri = NimbleNodes::Server.uri_with_token(path)
path = uri.route_from(NimbleNodes::Server.url[0..-2]).to_s
request = Net::HTTP::Get.new(path)
return Net::HTTP.start(uri.host, uri.port) {|http| http.request(request)}.body
Expand Down

0 comments on commit 46c0916

Please sign in to comment.