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
- Host: GitHub
- URL: https://github.com/seankay/readmorejs-rails
- Owner: seankay
- License: mit
- Created: 2013-12-31T16:57:06.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-05-29T11:42:25.000Z (about 11 years ago)
- Last Synced: 2025-01-16T00:51:50.564Z (over 1 year ago)
- Topics: rails, readmore, ruby
- Language: Ruby
- Homepage:
- Size: 139 KB
- Stars: 7
- Watchers: 2
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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