Re: Comments Extensions

I think the guilty portion is in comments_extension.rb, activate method:

if admin.respond_to? :page
admin.page.edit.add :parts_bottom, “edit_comments_enabled”, :before
=> “edit_timestamp”
admin.page.index.add :sitemap_head, “index_head_view_comments”
admin.page.index.add :node, “index_view_comments”
end

It seems like maybe it should test for something other than responding
to :page. Or perhaps it’s calling the activate method more than once,
and it’s not supposed to.

Regards,
Josh

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs