Sha256: c8abe114acf44955b9b934c53b8cde26af6634feab5459ddfd6ff3e9e506c3a0
Contents?: true
Size: 726 Bytes
Versions: 4
Compression:
Stored size: 726 Bytes
Contents
= ECM Lightbox 2 Module = Installation Add it to you Gemfile: # ./Gemfile gem 'ecm_lightbox2' Add the javascripts to your assets: # ./app/assets/javascripts/application.js //= require ecm_lightbox Add the stylesheets to your assets: # ./app/assets/stylesheets/application.css /* *= require ecm_lightbox */ Add the Helper to your ApplicationController: # ./app/controllers/application_controller.rb class ApplicationController < ActionController::Base helper Ecm::LightboxHelper end Add a call to the modal_gallery helper to your layout: # app/views/layouts/application.html.erb: <%= modal_gallery %> = License This project rocks and uses MIT-LICENSE.
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ecm_lightbox2-1.1.2 | README.rdoc |
ecm_lightbox2-1.1.1 | README.rdoc |
ecm_lightbox2-1.1.0 | README.rdoc |
ecm_lightbox2-1.0.0 | README.rdoc |