README.md in binco-0.0.3 vs README.md in binco-2.0.1
- old
+ new
@@ -4,13 +4,13 @@
* [Bootstrap](https://github.com/twbs/bootstrap-sass)
* [Bootstrap Datepicker](https://github.com/Nerian/bootstrap-datepicker-rails)
* [Select2](https://github.com/argerim/select2-rails)
* [Will paginate](https://github.com/mislav/will_paginate)
+* Links with `data: { confirm: 'Sure?' }` opens in Bootstrap Modal by default.
* Bootstrap Helpers
-
## Installation
To install simply include into Gemfile:
```
gem 'binco'
@@ -94,10 +94,10 @@
```erb
<%= render 'binco/breadcrumb' %>
```
In your views, add an element to breadcrumb with:
```erb
-<%= breadcrumb_add(title: 'new', url: pages_new_path) %>
+<% breadcrumb_add(title: 'new', url: pages_new_path) %>
```
Notice that first in first out. So be careful with the order.
Your can configure your placeholder and default url for the breadcrumb in an initializer: