Permalink
Browse files

readme fixed formatting

  • Loading branch information...
yagudaev committed Mar 26, 2013
1 parent b243e12 commit 1f607eef35deba45eb598c2b70ca23b3d08a1b51
Showing with 9 additions and 9 deletions.
  1. +9 −9 README.md
View
@@ -64,18 +64,18 @@ The gem uses a controller to send messages to the server, in some cases you may
1. Create a new controller `logger_controller.rb` that inherits from `RailsClientLoggersController` like this:
-```ruby
-class LoggerController < RailsClientLogger::RailsClientLoggersController
- skip_authorization_check
-end
-```
+ ```ruby
+ class LoggerController < RailsClientLogger::RailsClientLoggersController
+ skip_authorization_check
+ end
+ ```
2. Add a new route in `routes.rb`
-```ruby
-match 'logger/rails_client_logger/log' => 'logger#log'
-mount RailsClientLogger::Engine, :at => "logger"
-```
+ ```ruby
+ match 'logger/rails_client_logger/log' => 'logger#log'
+ mount RailsClientLogger::Engine, :at => "logger"
+ ```
## Contributing

0 comments on commit 1f607ee

Please sign in to comment.