Skip to content

Commit 1f325e9

Browse files
committed
📝 Badges
1 parent f980977 commit 1f325e9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# OpenComponents::Rails
22
[![Build Status](https://travis-ci.org/opentable/opencomponents-rails.svg?branch=master)][1]
3+
[![Gem Version](https://badge.fury.io/rb/opencomponents-rails.svg)][2]
34

45
[1]:https://travis-ci.org/opentable/opencomponents-rails
6+
[2]:http://badge.fury.io/rb/opencomponents-rails
57

68
OpenComponents for Rails. This gem provides view helper methods for component
79
rendering on both server- and client-side.
@@ -47,7 +49,7 @@ pipeline, add the library to your javascript manifest:
4749

4850
Once that's done, you can use the `oc_component_tag` method in your views. You can either
4951
pass the method a fully formed `href` attribute or use the same options as `OpenComponents`
50-
[Renderer][2].
52+
[Renderer][3].
5153
```erb
5254
<%= oc_component_tag('my-sweet-component', href: 'http://localhost:3030/my-sweet-component/1.0.1?name=Zan') %>
5355
@@ -63,9 +65,9 @@ In your view, simply call `render_component`:
6365
<%= render_component('my-sweet-component', params: {name: 'Zan'}, version: '1.0.1') %>
6466
```
6567

66-
The method accepts the same options as the `OpenComponents` [Renderer][2].
68+
The method accepts the same options as the `OpenComponents` [Renderer][3].
6769

68-
[2]:http://www.rubydoc.info/gems/opencomponents/OpenComponents/Renderer
70+
[3]:http://www.rubydoc.info/gems/opencomponents/OpenComponents/Renderer
6971

7072
## Contributing
7173
Would be pretty cool of you. Open an Issue or PR if you find bugs or have ideas for improvements.

0 commit comments

Comments
 (0)