mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 13:58:01 +08:00
Put category description in meta description tag
This commit is contained in:
@ -74,6 +74,7 @@ class ListController < ApplicationController
|
||||
end
|
||||
guardian.ensure_can_see!(@category)
|
||||
list = query.list_category(@category)
|
||||
@description = @category.description
|
||||
end
|
||||
|
||||
list.more_topics_url = url_for(category_list_path(params[:category], page: next_page, format: "json"))
|
||||
|
Reference in New Issue
Block a user