resolve/refinerycms-news — Issue #62: undefined method edit_refinery_news_items_admin_news_item_path
Author: paulsponagl
Created: 2011-12-09 12:49:07+00:00
State: open

using edge with

gem "refinerycms-news", :git => 'git://github.com/resolve/refinerycms-news.git', :branch => 'rails-3-1'

fails in production env with

ActionView::Template::Error (undefined method `edit_refinery_news_items_admin_news_item_path' for #)

could be a rails bug too as news is using resources :as ...
a temporary workaround is using

module Kernel
def edit_refinery_news_items_admin_news_item_path( *args )
'/'
end
end

in config/initializers/refinery.rb