diff options
| author | Kir | 2011-11-17 16:57:14 +0400 | 
|---|---|---|
| committer | Kir | 2011-11-17 16:57:14 +0400 | 
| commit | bd1ee727b44381f1755858b7e3c0bb7ddf87b0cd (patch) | |
| tree | 9d254b67fff83d4d13dad65c5e655eab732e4003 | |
| parent | 42986ff6e1422f4b991719ce33bcc5bfef63d26d (diff) | |
| download | inboxes-bd1ee727b44381f1755858b7e3c0bb7ddf87b0cd.tar.bz2 | |
Readme fix
| -rw-r--r-- | README.md | 12 | 
1 files changed, 5 insertions, 7 deletions
| @@ -33,17 +33,15 @@ By default, the gem provides localized phrases for Russian and English languages  #Integration with Faye  1. Add `gem "faye"` to your Gemfile and run `bundle install`. Install Faye by [the screencast](http://railscasts.com/episodes/260-messaging-with-faye) -2. Create `messaging.js` in `app/assets/javascripts/` with these lines: - -`= require inboxes/faye` +2. Create `messaging.js` in `app/assets/javascripts/` with these line: `= require inboxes/faye`  3. Copy or replace 2 views from Inboxes example app to your application: [app/views/inboxes/messages/_form](https://github.com/kirs/inboxes-app/blob/master/app/views/inboxes/messages/_form.html.haml) and [app/views/inboxes/messages/create](https://github.com/kirs/inboxes-app/blob/master/app/views/inboxes/messages/create.js.erb)  4. Add config parameters to your application config (last 2 are not necessary): -     -```config.inboxes.faye_enabled = true -config.inboxes.faye_host = "inboxes-app.dev" # localhost by default -config.inboxes.faye_port = 9292 # 9292 by default``` +    +`config.inboxes.faye_enabled = true` +`config.inboxes.faye_host = "inboxes-app.dev" # localhost by default` +`config.inboxes.faye_port = 9292 # 9292 by default`  5. Faye installation is finished. If you have any troubles, check the [example app](https://github.com/kirs/inboxes-app/) | 
