use rack gridfs

This commit is contained in:
Matt K. Fu committed 2013-04-25 20:37:13 +08:00
1 parent c68c563fb0
commit 2945e14385
2 files changed
+2

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ Orbit::Application.routes.draw do
end
mount Resque::Server, :at => "/admin/resque"
mount Rack::GridFS::Endpoint.new(:db => Mongoid.database,:lookup=>:path), :at => "gridfs"
# routes for sinatra app
match '/site/set_registered', :to => CentralServerExchangeApp