README.md in will_paginate-materialize-0.1.0 vs README.md in will_paginate-materialize-0.1.1
- old
+ new
@@ -19,27 +19,25 @@
$ gem install will_paginate-materialize
## Usage
1. Install [Materialize-sass](https://github.com/mkhairi/materialize-sass)
-2. Install [will_paginate](https://github.com/mislav/will_paginate)
-3. In your view, use the renderer: MaterializePagination::Rails option with the will_paginate helper.
-```ruby
-<%= will_paginate @collection, renderer: MaterializePagination::Rails %>
+2. In your view, use the renderer: MaterializePagination::Rails option with the will_paginate helper.
+ ```ruby
+ <%= will_paginate @collection, renderer: MaterializePagination::Rails %>
+ ```
+3. Add the following to your application.scss file
```
-4. Add the following to your application.scss file
-```
.pagination a li.active {
color: #fff;
}
```
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/patricklindsay/will_paginate-materialize. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
### Further works
* Extend gem so the MaterializePagination renderer is the default renderer
- * Extend gem so that users do not need to add will-paginate in their Gemfile
* Add specs
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).