Skip to content

Commit

Permalink
added usage examples
Browse files Browse the repository at this point in the history
  • Loading branch information
girishso committed Jan 30, 2013
1 parent 0113264 commit 211f10b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ Or install it yourself as:

Includes a generator, simply execute following command in your rails project root. It inserts the required routes and javascript files.

rails g js_logger
$ rails g js_logger

This will create:

route mount JsLogger::Engine, :at => "logger"
require js_logger.js in app/assets/javascripts/application.js


### Logging a message

Expand Down

0 comments on commit 211f10b

Please sign in to comment.