From 16dfae44153952352ae1ed2d404dce4d4ee7023b Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 26 Aug 2016 18:47:17 +0800 Subject: [PATCH] 0 --- app/controllers/attachments_controller.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/controllers/attachments_controller.rb b/app/controllers/attachments_controller.rb index fa2c87f8c..7ec532d79 100644 --- a/app/controllers/attachments_controller.rb +++ b/app/controllers/attachments_controller.rb @@ -202,6 +202,11 @@ class AttachmentsController < ApplicationController end @attachment.save @newfiledense = filedense + end + if @project + + elsif @course + end respond_to do |format| format.js