Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change post to put to reflect changes in the client.

  • Loading branch information...
commit f9f897a93ce2b0afb125bd5fdffe951b2131a794 1 parent 42d0edb
@rogerbraun rogerbraun authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 server/lib/picky/sinatra/index_actions.rb
View
4 server/lib/picky/sinatra/index_actions.rb
@@ -11,7 +11,7 @@ def self.extended base
#
# Note: 200 returns no data yet.
#
- base.post '/' do
+ base.put '/' do
index_name = params['index']
begin
index = Picky::Indexes[index_name.to_sym]
@@ -48,4 +48,4 @@ def self.extended base
end
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.