|
|
|
@ -367,9 +367,9 @@ class FilesController < ApplicationController
|
|
|
|
|
@category_name = category.try(:module_name)
|
|
|
|
|
else
|
|
|
|
|
@category = CourseSecondCategory.find category_id
|
|
|
|
|
@category_id = category.try(:id)
|
|
|
|
|
@category_name = category.try(:name)
|
|
|
|
|
@parent_category_id = category&.parent_id.to_i
|
|
|
|
|
@category_id = @category.try(:id)
|
|
|
|
|
@category_name = @category.try(:name)
|
|
|
|
|
@parent_category_id = @category&.parent_id.to_i
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|