use rack gridfs

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

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ gem "mongo_session_store-rails3", '3.0.6'
gem 'nokogiri'
gem 'fb_graph'
gem 'rack-gridfs'
gem 'radius'
gem 'rake'
# gem 'remotipart'
+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