Once a page has comments there is a link in the admin of that page to view comments and if I click on it I get an application error. This is what the production log says:


Parameters: {"action"=>"index", "page_id"=>"5", "controller"=>"admin/ comments"} Cookie set: session_token=a7c8382524930cc092981330cf62fc75f8a68582; path=/; expires=Sat, 14 Feb 2009 00:43:07 GMT
Rendering template within layouts/application
Rendering admin/comments/index


ActionView::TemplateError (undefined method `page_edit_url' for #<ActionView::Base:0x93fe360>) on line #1 of admin/comments/index.rhtml: 1: <h1><%= @page.nil? ? "#{params[:status].titleize if params[:status]} Comments" : "#...@page.comments_count} #{pluralize(@page.comments_count, "Comment")} on #{link_to(@page.title, page_edit_url(@page.id))}" %></h1>
2:
3: <p class="comment-nav">
4:   View:

vendor/extensions/comments/app/views/admin/comments/index.rhtml: 1:in ` _run_erb_47vendor47extensions47comments47app47views47admin47comments47index46rhtml '
    vendor/rails/actionpack/lib/action_view/base.rb:342:in `send'
    vendor/rails/actionpack/lib/action_view/base.rb:342:in `execute'
vendor/rails/actionpack/lib/action_view/template_handlers/ compilable.rb:29:in `send' vendor/rails/actionpack/lib/action_view/template_handlers/ compilable.rb:29:in `render'
    vendor/rails/actionpack/lib/action_view/template.rb:35:in `render'
vendor/rails/actionpack/lib/action_view/template.rb:22:in `render_template' vendor/rails/actionpack/lib/action_view/base.rb:248:in `render_file'


What do I do about this undefined method 'page_edit_url'?

Thanks for any help,

Steven


_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to