Skip to content

Commit e6ee336

Browse files
committed
readme
1 parent 5632a5c commit e6ee336

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ For capistrano possible compile assets by receipt. Add this to config/deploy.rb:
8888
require 'mongodb_logger/capistrano'
8989
set :mongodb_logger_assets_dir, "public/assets" # where to put mongodb assets
9090
after 'deploy:update_code', 'mongodb_logger:precompile'
91+
92+
Also you can serve assets from rails app. You need just mount it separately:
93+
94+
mount MongodbLogger::Server.new, :at => "/mongodb", :as => :mongodb
95+
mount MongodbLogger::Assets.instance, :at => "/mongodb/assets", :as => :mongodb_assets # assets
9196

9297

9398
## Usage

0 commit comments

Comments
 (0)