One of my tasks for tomorrow is to introduce a module that will contain all of the legacy routes and their new equivalents. This will be automatically included in the application helper and controller so the old routes will work.

Sean

James Lavin wrote:
Sean Cribbs wrote:
Try the version from my fork:

git://github.com/seancribbs/radiant-comments.git

It is updated to work with 0.7.

Sean

Thanks for the fix, Sean. Do I still need to install the fork if almost everything is now working properly?

Here's what's still failing: Clicking "Enable" to enable comments for an article correctly changes the info in the database but then throws this error:

Processing Admin::CommentsController#enable (for XX.XX.XX.XX at 2009-02-06 16:21:49) [GET]
  Session ID: XXXXXXX
Parameters: {"action"=>"enable", "page_id"=>"23", "controller"=>"admin/comments"} Cookie set: session_token=XXXXXXXXXXXX; path=/; expires=Fri, 20 Feb 2009 21:21:49 GMT

NameError (undefined local variable or method `page_index_path' for #<Admin::CommentsController:0x7f0e4b013410>): /vendor/extensions/comments/app/controllers/admin/comments_controller.rb:66:in `enable' /usr/lib/ruby/gems/1.8/gems/radiant-0.7.0/vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `send' /usr/lib/ruby/gems/1.8/gems/radiant-0.7.0/vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `perform_action_without_filters' /usr/lib/ruby/gems/1.8/gems/radiant-0.7.0/vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters' /usr/lib/ruby/gems/1.8/gems/radiant-0.7.0/vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/radiant-0.7.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
    /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/lib/ruby/gems/1.8/gems/radiant-0.7.0/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/radiant-0.7.0/vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching' /usr/lib/ruby/gems/1.8/gems/radiant-0.7.0/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `passenger_orig_perform_action' /usr/lib/ruby/gems/1.8/gems/radiant-0.7.0/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
...

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to