mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
UX: fix container layout
This commit is contained in:
parent
b5977bb364
commit
d6069e8c90
5 changed files with 5 additions and 5 deletions
|
@ -434,7 +434,7 @@ class ApplicationController < ActionController::Base
|
|||
|
||||
def build_not_found_page(status=404, layout=false)
|
||||
category_topic_ids = Category.pluck(:topic_id).compact
|
||||
@container_class = "container not-found-container"
|
||||
@container_class = "wrap not-found-container"
|
||||
@top_viewed = Topic.where.not(id: category_topic_ids).top_viewed(10)
|
||||
@recent = Topic.where.not(id: category_topic_ids).recent(10)
|
||||
@slug = params[:slug].class == String ? params[:slug] : ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue