app/controllers/admin/muck/base_controller.rb in muck-engine-0.4.0 vs app/controllers/admin/muck/base_controller.rb in muck-engine-0.4.1
- old
+ new
@@ -29,11 +29,17 @@
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
+ @fields = fields
+ @title = title
+ @options = options
+ @flash_only = flash_only
+ render :template => 'admin/shared/output_admin_messages', :layout => false
end
+ def output_admin_messages
+
+ end
+
end
\ No newline at end of file