|
|
|
@ -23,8 +23,8 @@ class FilesController < ApplicationController
|
|
|
|
|
|
|
|
|
|
get_category(@course, course_second_category_id)
|
|
|
|
|
@total_count = @attachments.size
|
|
|
|
|
@public_count = @attachments.publiced.size
|
|
|
|
|
@private_count = @total_count - @public_count
|
|
|
|
|
@publish_count = @attachments.published.size
|
|
|
|
|
@unpublish_count = @total_count - @publish_count
|
|
|
|
|
|
|
|
|
|
@attachments = @attachments.by_keywords(params[:search])
|
|
|
|
|
@attachments =
|
|
|
|
|