An open API service indexing awesome lists of open source software.

https://github.com/seankay/readmorejs-rails

Readmore.js for Rails
https://github.com/seankay/readmorejs-rails

rails readmore ruby

Last synced: 8 months ago
JSON representation

Readmore.js for Rails

Awesome Lists containing this project

README

          

# Readmorejs::Rails

[Readmore.js](https://github.com/jedfoster/Readmore.js) for Rails

## Installation

Add this line to your application's Gemfile:

gem 'readmorejs-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install readmorejs-rails

## Usage

In your `application.js`, include the js file:

//= require readmore

See [Readmore.js](https://github.com/jedfoster/Readmore.js) for more info.

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request