Permalink
Browse files

adding query support

  • Loading branch information...
1 parent 5c25650 commit 3cf6de398abd817e1f60c5ea262d633a70347d33 Subba Rao Pasupuleti committed Apr 17, 2012
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/geminabox.rb
View
7 lib/geminabox.rb
@@ -69,13 +69,14 @@ def fixup_bundler_rubygems!
erb :upload
end
- #remove support for reindex
-=begin
get '/reindex' do
reindex(:force_rebuild)
redirect url("/")
end
-=end
+
+ get '/gems/*.gem' do
+ status File.exists?(file_path) ? 302 : 404
+ end
#remove support for delete
=begin

0 comments on commit 3cf6de3

Please sign in to comment.