Permalink
Browse files

README style fix

  • Loading branch information...
1 parent 6507727 commit fa00fb474ce4a1fd457b47e8cdbe26c5ceb3dab3 @nebirhos nebirhos committed Oct 10, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 README.md
View
7 README.md
@@ -8,11 +8,15 @@ Installation
------------
1. Add the following to your Gemfile
+
```ruby
gem 'spree_banner', '~> 2.0.0'
```
+
2. Run `bundle install`
+
3. To copy and apply migrations run:
+
```
rails g spree_banner:install
```
@@ -36,10 +40,13 @@ Banner use example
------------------
1. Add banner helper method in your view:
+
```erb
<%= insert_banner_box(category: "my_category") %>
```
+
2. Additional options:
+
```ruby
:class => "my_class"
:style => "my_style"

0 comments on commit fa00fb4

Please sign in to comment.