Mercurial > hg > soundsoftware-site
comparison app/controllers/files_controller.rb @ 257:3ecf99348b9f feature_80
* Enable toggling file active state through the files interface
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 04 Mar 2011 12:46:26 +0000 |
parents | 0c9da2b87ad6 |
children | f4a7c5aebbb5 |
comparison
equal
deleted
inserted
replaced
256:e0dc03c8d745 | 257:3ecf99348b9f |
---|---|
32 if !attachments.empty? && !attachments[:files].blank? && Setting.notified_events.include?('file_added') | 32 if !attachments.empty? && !attachments[:files].blank? && Setting.notified_events.include?('file_added') |
33 Mailer.deliver_attachments_added(attachments[:files]) | 33 Mailer.deliver_attachments_added(attachments[:files]) |
34 end | 34 end |
35 redirect_to project_files_path(@project) | 35 redirect_to project_files_path(@project) |
36 end | 36 end |
37 | |
37 end | 38 end |