Sha256: f468ddfe1390671afbcb9ea35f9ccb70f4a08eabac6d42d6cdd6fc644daad4e5
Contents?: true
Size: 1.03 KB
Versions: 6
Compression:
Stored size: 1.03 KB
Contents
= ECM Downloads 2 This version supports rails >= 4.0 and twitter bootstrap 3. For legacy support use ecm_downloads = Installation Add the gem to your bundle: # Gemfile gem 'ecm_downloads2' Install your bundle: > bundle install Generate initializer: > rails generate ecm:downloads:install Add migrations: > rake ecm_downloads_engine:install:migrations Migrate: > rake db:migrate Add the routes: # config/routes.rb Ecm::Downloads::Routing.routes(self) Add the helpers to your application controller: # app/controllers/application_controller.rb class ApplicationController < ActionController::Base helper Ecm::Downloads::DownloadCategoryHelper helper Ecm::Downloads::DownloadHelper ... end == Optional: Generate locale files You may want to copy the locales to your app: > rails generate ecm:downloads:locales = Running specs gem install bundler bundle cd spec/dummy && rake db:migrate RAILS_ENV=test && cd ../.. guard = License This project rocks and uses MIT-LICENSE.
Version data entries
6 entries across 6 versions & 1 rubygems