incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Vollero <razor...@gmail.com>
Subject [PATCH core 2/2] Removed unuseful escaping from get
Date Fri, 10 Dec 2010 12:14:32 GMT
---
 server/server.rb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/server.rb b/server/server.rb
index 6b446ba..3a261f7 100644
--- a/server/server.rb
+++ b/server/server.rb
@@ -71,13 +71,13 @@ Sinatra::Application.register Sinatra::RespondTo
 # Redirect to /api
 get '/' do redirect url_for('/api'), 301; end
 
-get '/api/drivers\/?' do
+get '/api/drivers/?' do
   respond_to do |format|
     format.xml { haml :"api/drivers" }
   end
 end
 
-get '/api\/?' do
+get '/api/?' do
   if params[:force_auth]
     return [401, 'Authentication failed'] unless driver.valid_credentials?(credentials)
   end
-- 
1.7.3.3


Mime
View raw message