aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKir2011-11-17 16:49:28 +0400
committerKir2011-11-17 16:49:28 +0400
commit363bb30c4065e3a3f2478079cb3cd03fc54f23e9 (patch)
treeb324de00141c173c2eab6ad4c9be03d5f86aad1c
parent4dfa0bc84fc2e9b5e9fe96151ceb1887aea42dc9 (diff)
downloadinboxes-363bb30c4065e3a3f2478079cb3cd03fc54f23e9.tar.bz2
Readme fix
-rw-r--r--README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index 26830cb..27b1fb3 100644
--- a/README.md
+++ b/README.md
@@ -35,17 +35,17 @@ By default, the gem provides localized phrases for Russian and English languages
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
- */
+```/*
+= 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/)