Permalink
Browse files

adding delete option

  • Loading branch information...
1 parent 707533f commit 2441b68abfab07ea0deaeb25e69c7bac79182f76 Subba Rao Pasupuleti committed Apr 18, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/geminabox.rb
View
@@ -75,13 +75,11 @@ def fixup_bundler_rubygems!
end
#remove support for delete
-=begin
delete '/gems/*.gem' do
File.delete file_path if File.exists? file_path
reindex(:force_rebuild)
redirect url("/")
end
-=end
delete '/gems' do
FileUtils.rm_rf File.expand_path(File.join(Geminabox.data, "gems"))

0 comments on commit 2441b68

Please sign in to comment.