Sha256: d2979bf0e47f7049196ba994866947163a34007290c22aada89c97722d13572d
Contents?: true
Size: 687 Bytes
Versions: 50
Compression:
Stored size: 687 Bytes
Contents
= CMOR Carousels = Installation Add it to your bundle: # Gemfile gem 'cmor_carousels' Update your bundle: > bundle install Install the module: > rails g cmor:carousels:install Create migrations: > rake cmor_carousels_engine:install:migrations Migrate: > rake db:migrate = Usage Add the helper to your controller: # app/controllers/application_controller.rb class ApplicationController < ActionController::Base view_helper Cmor::Carousels::ApplicationViewHelper, as: :carousel_helper #... end Use the helper to display a carousel: <%= carousel_helper(self).render_carousel 'My Carousel' %> = License This project rocks and uses MIT-LICENSE.
Version data entries
50 entries across 50 versions & 1 rubygems