app/controllers/admin/muck/base_controller.rb in muck-engine-0.3.3 vs app/controllers/admin/muck/base_controller.rb in muck-engine-0.4.0

- old
+ new

@@ -27,6 +27,13 @@ redirect_to home_path end end end + # Output a page update that will display messages in the flash + def output_admin_messages(fields = nil, title = '', options = { :class => 'notify-box' }, flash_only = false) + render :update do |page| + page.replace_html 'admin-messages', output_errors(title, options, fields, flash_only) + end + end + end \ No newline at end of file