README.rdoc in ecm_cms2-5.0.0 vs README.rdoc in ecm_cms2-5.1.0

- old
+ new

@@ -70,9 +70,22 @@ class ApplicationController < ActionController::Base prepend_view_path ::Ecm::Cms::PartialResolver.instance ... end += Using the navigation helper + + # app/controllers/application_controller.rb + class ApplicationController < ActionController::Base + helper Ecm::CmsHelper + ... + end + +Then you can render navigation in your views: + + # app/views/_navigation.rb + = cms_render_navigation(:main) + = Running specs gem install bundler bundle cd spec/dummy && rake db:migrate RAILS_ENV=test && cd ../..