Redmine/app
Eric Davis fe1e3ccd18 Refactor: Decouple failed attachments and the flash messages
Attachment#attach_files will no longer need to return a flash message,
instead it will put unsaved attachments into object#unsaved_attachments
where the calling object can access them.

A utility method #render_attachment_warning_if_needed is included for setting
the standard flash warning.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-03-03 17:05:00 +00:00
..
controllers Refactor: Decouple failed attachments and the flash messages 2010-03-03 17:05:00 +00:00
helpers Allow multiple selected projects in #project_tree_options_for_select 2010-03-03 03:37:40 +00:00
models Refactor: Decouple failed attachments and the flash messages 2010-03-03 17:05:00 +00:00
views Fixes some context menu links broken by r3478. 2010-03-01 20:54:55 +00:00