|
|
|
@ -274,7 +274,7 @@ class GraduationWorksController < ApplicationController
|
|
|
|
|
@is_author = @work.user_id == current_user.id
|
|
|
|
|
@work_members = @task.task_type == 1 ? [] : @task.graduation_works.where.not(user_id: @work.user_id).
|
|
|
|
|
where(group_id: @work.group_id).includes(:user)
|
|
|
|
|
@attachments = @work.attachments.where.not(attachtype: 7)
|
|
|
|
|
@attachments = @work.attachments.where.not(attachtype: 7).or(attachtype: nil)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def comment_list
|
|
|
|
|