browsermedia/browsercms — Issue #471: undefined methods `cms_cms/page_templates_path' and `cms_cms/page_partials_path' when i tried to edit partial or template
Author: UlfR
Created: 2012-02-02 13:36:26+00:00
State: open

Master commit c0b85c0f36ad54b2ceec8a7415b6c46e9935b6a0

When i try to edit partial or template
( http://localhost:3000/cms/page_templates/2/edit and http://localhost:3000/cms/page_partials/4/edit urls)
i receive undefined method errors:
Message

undefined method `cms_cms/page_templates_path' for #

Stacktrace

/usr/local/rvm/gems/ruby-1.9.3-p0@bc/gems/actionpack-3.1.3/lib/action_dispatch/routing/routes_proxy.rb:30:in `method_missing'
/usr/local/rvm/gems/ruby-1.9.3-p0@bc/gems/actionpack-3.1.3/lib/action_dispatch/routing/polymorphic_routes.rb:127:in `polymorphic_url'
/usr/local/rvm/gems/ruby-1.9.3-p0@bc/gems/actionpack-3.1.3/lib/action_dispatch/routing/polymorphic_routes.rb:133:in `polymorphic_path'
/usr/local/rvm/gems/ruby-1.9.3-p0@bc/bundler/gems/browsercms-c0b85c0f36ad/app/helpers/cms/path_helper.rb:10:in `cms_index_path_for'
/usr/local/rvm/gems/ruby-1.9.3-p0@bc/bundler/gems/browsercms-c0b85c0f36ad/app/views/cms/dynamic_views/edit.html.erb:2:in `__usr_local_rvm_gems_ruby_______p__bc_bundler_gems_browsercms_c_b__c_f__ad_app_views_cms_dynamic_views_edit_html_erb__713174666_90296600'
/usr/local/rvm/gems/ruby-1.9.3-p0@bc/gems/actionpack-3.1.3/lib/action_view/template.rb:171:in `block in render'

and

Message

undefined method `cms_cms/page_partials_path' for #

Stacktrace

/usr/local/rvm/gems/ruby-1.9.3-p0@bc/gems/actionpack-3.1.3/lib/action_dispatch/routing/routes_proxy.rb:30:in `method_missing'
/usr/local/rvm/gems/ruby-1.9.3-p0@bc/gems/actionpack-3.1.3/lib/action_dispatch/routing/polymorphic_routes.rb:127:in `polymorphic_url'
/usr/local/rvm/gems/ruby-1.9.3-p0@bc/gems/actionpack-3.1.3/lib/action_dispatch/routing/polymorphic_routes.rb:133:in `polymorphic_path'
/usr/local/rvm/gems/ruby-1.9.3-p0@bc/bundler/gems/browsercms-c0b85c0f36ad/app/helpers/cms/path_helper.rb:10:in `cms_index_path_for'
/usr/local/rvm/gems/ruby-1.9.3-p0@bc/bundler/gems/browsercms-c0b85c0f36ad/app/views/cms/dynamic_views/edit.html.erb:2:in `__usr_local_rvm_gems_ruby_______p__bc_bundler_gems_browsercms_c_b__c_f__ad_app_views_cms_dynamic_views_edit_html_erb__713174666_90296600'
/usr/local/rvm/gems/ruby-1.9.3-p0@bc/gems/actionpack-3.1.3/lib/action_view/template.rb:171:in `block in render'
/usr/local/rvm/gems/ruby-1.9.3-p0@bc/gems/activesupport-3.1.3/lib/active_support/notifications.rb:55:in `instrument'