lib/rmce_uploadr/app/app.rb in rmce_uploadr-0.0.2 vs lib/rmce_uploadr/app/app.rb in rmce_uploadr-0.0.3

- old
+ new

@@ -16,9 +16,14 @@ set :static, true set :root, rmce_uploadr_root_path('rmce_uploadr') set :public, rmce_uploadr_root_path('rmce_uploadr', 'public') set :views, rmce_uploadr_root_path('rmce_uploadr', 'views') + # a host that distributes static content + # can be set in use RMceUPloadr::App do |conf| block like + # conf.settings.set :cdn_host, "http://cdn.host.com/" + set :cdn_host, nil + def dbconf=(opts) RMceUploadr.dbconf = opts end use Rack::Session::Cookie