diff --git a/Gemfile b/Gemfile index 37fdd201b..4fb5e7753 100644 --- a/Gemfile +++ b/Gemfile @@ -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' diff --git a/config/routes.rb b/config/routes.rb index 599bcf07e..7182ece63 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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