Sha256: 7277c8980bd46c0ef65302c7d3e9645ebf04c1e9f2b146da37f83bf7d0e8bb05
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
prettyphoto-rails ================= A gem to easily integrate [prettyPhoto](http://www.no-margin-for-errors.com/projects/prettyPhoto/) with the rails 3.1+ asset pipeline. Currently this gem birngs support for prettyPhoto **v3.1.5**. ## Installation First add the following lines to your applications `Gemfile`: ``` ruby gem 'jquery-rails' gem 'prettyphoto-rails' gem 'prettyphoto-rails-dev' # or this for uncompressed javascript code ``` Run `bundle install`. Add the following lines to `app/assets/javascripts/application.js`: ``` javascript //= require jquery //= require prettyphoto-rails ``` Finalize the setup by adding these lines to `app/assets/stylesheets/application.css`: ``` css /* *= require_self *= require prettyphoto-rails */ ``` ## Usage Please refer to [http://www.no-margin-for-errors.com/projects/prettyPhoto/](http://www.no-margin-for-errors.com/projects/prettyPhoto/) for all the details on how to use. ### Credits * prettyPhoto is (c) Copyright Stephane Caron * This gem is maintained by [@christian_mager](https://www.twitter.com/#!/christian_mager)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
prettyphoto-rails-0.2.1 | Readme.md |