|
|
@ -24,6 +24,7 @@ class FilesController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
get_category(@course, @course_second_category_id)
|
|
|
|
get_category(@course, @course_second_category_id)
|
|
|
|
@total_count = @attachments.size
|
|
|
|
@total_count = @attachments.size
|
|
|
|
|
|
|
|
@unlink_count = @attachments.no_link.size
|
|
|
|
|
|
|
|
|
|
|
|
if @user.course_identity(@course) == 5
|
|
|
|
if @user.course_identity(@course) == 5
|
|
|
|
member = @course.course_members.find_by(user_id: current_user.id, is_active: 1)
|
|
|
|
member = @course.course_members.find_by(user_id: current_user.id, is_active: 1)
|
|
|
|