jgarber / radiant-chronicle-extension

Provides history, diffs, and dev-only drafts to Radiant CMS
Other
42 stars 17 forks source link

Error: "undefined method `announce_saved' for class `Admin::PagesController'" #52

Open fernandoalmeida opened 13 years ago

fernandoalmeida commented 13 years ago

Hi, the rake radiant:extensions:chronicle:migrate is returning the error

rake aborted! undefined method announce_saved' for classAdmin::PagesController'

I removed the line 5 (alias_method_chain :announce_saved, :show_page) of lib/chronicle/pages_controller_extensions.rb how recommends Jim Gay

http://groups.google.com/group/radiantcms/browse_thread/thread/e9e1e25d7e24eaa0/dc27f0f966c76be0

Is this ok?

Thanks.

rosslaird commented 13 years ago

I also removed line 5, based on this thread and the google thread. The extension seems to be working properly (but I'm no expert...).

iain-davis commented 13 years ago

I had this problem as well. However, removing the line in question caused my layout and content editing pages to fail with an error. I uninstalled the extension for now--no time right now to chase down the problem. :)