README.md in exvo_helpers-0.5.0 vs README.md in exvo_helpers-0.5.1
- old
+ new
@@ -28,10 +28,11 @@
Exvo::Helpers.contacts_host => 'contacts.exvo.local'
Exvo::Helpers.inbox_host => 'inbox.exvo.local'
Exvo::Helpers.music_host => 'music.exvo.local'
Exvo::Helpers.pics_host => 'pics.exvo.local'
Exvo::Helpers.preview_host => 'preview.exvo.local'
+Exvo::Helpers.store_host => 'store.exvo.local'
Exvo::Helpers.auth_uri => 'http://auth.exvo.local'
Exvo::Helpers.cdn_uri => 'http://www.exvo.local'
Exvo::Helpers.cfs_uri => 'http://cfs.exvo.local'
Exvo::Helpers.desktop_uri => 'http://www.exvo.local'
@@ -40,10 +41,11 @@
Exvo::Helpers.contacts_uri => 'http://contacts.exvo.local'
Exvo::Helpers.inbox_uri => 'http://inbox.exvo.local'
Exvo::Helpers.music_uri => 'http://music.exvo.local'
Exvo::Helpers.pics_uri => 'http://pics.exvo.local'
Exvo::Helpers.preview_uri => 'http://preview.exvo.local'
+Exvo::Helpers.store_uri => 'http://store.exvo.local'
```
### Overwriting the defaults
@@ -68,10 +70,11 @@
ENV['CONTACTS_HOST'] = 'test.contacts.exvo.local'
ENV['INBOX_HOST'] = 'test.inbox.exvo.local'
ENV['MUSIC_HOST'] = 'test.music.exvo.local'
ENV['PICS_HOST'] = 'test.pics.exvo.local'
ENV['PREVIEW_HOST'] = 'test.preview.exvo.local'
+ENV['STORE_HOST'] = 'test.store.exvo.local'
```
The other one is to set it in the application's config file:
```ruby
@@ -93,10 +96,11 @@
Exvo::Helpers.contacts_host = 'test.contacts.exvo.local'
Exvo::Helpers.inbox_host = 'test.inbox.exvo.local'
Exvo::Helpers.music_host = 'test.music.exvo.local'
Exvo::Helpers.pics_host = 'test.pics.exvo.local'
Exvo::Helpers.preview_host = 'test.preview.exvo.local'
+Exvo::Helpers.store_host = 'test.store.exvo.local'
```
## View helpers
@@ -129,11 +133,11 @@
### themes_stylesheet_link_tag
Note, that this helper does not support full API of Rails' `stylesheet_link_tag` (works best with only one CSS path as argument).
```ruby
-= themes_stylesheet_link_tag "frost/all", :madia => 'all'
+= themes_stylesheet_link_tag "frost/all", :media => 'all'
```
=>
```html
@@ -157,10 +161,10 @@
### google_analytics(account, opts = {})
Asynchronous Google Analytics javascript snippet to track page views. Note, that it will output the javascript analytics snippet only in production environment.
```ruby
-= google_analytics('UA-2491324-1', :domain => 'none', :track_hash_changes => true)
+= google_analytics('UA-XXXXXXX-X', :domain => 'none', :track_hash_changes => true)
```
=>
```html