|
|
@ -395,8 +395,7 @@ class FilesController < ApplicationController
|
|
|
|
render :layout => 'base_courses'
|
|
|
|
render :layout => 'base_courses'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
|
|
show_attachments @containers
|
|
|
|
show_attachments @containers
|
|
|
|
@attachtype = params[:type].to_i
|
|
|
|
@attachtype = params[:type].to_i
|
|
|
|
@contenttype = params[:contentType].to_s
|
|
|
|
@contenttype = params[:contentType].to_s
|
|
|
@ -405,6 +404,9 @@ class FilesController < ApplicationController
|
|
|
|
format.js
|
|
|
|
format.js
|
|
|
|
format.html
|
|
|
|
format.html
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|