tag云显示搜索结果的TAG云

This commit is contained in:
sw 2015-04-15 17:31:15 +08:00
parent 2e3294a341
commit 0f6d2676e5
1 changed files with 3 additions and 2 deletions

View File

@ -60,8 +60,7 @@ class FilesController < ApplicationController
sort = "#{@sort} #{@order}"
end
show_attachments [@course]
@tag_list = attachment_tag_list @all_attachments
# show_attachments [@course]
begin
q = "%#{params[:name].strip}%"
@ -76,6 +75,8 @@ class FilesController < ApplicationController
@searched_attach = paginateHelper @result,10
end
@tag_list = attachment_tag_list @searched_attach
#rescue Exception => e
# #render 'stores'
# redirect_to search_course_files_url