mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
Ember Upgrade: 1.0
This commit is contained in:
@ -29,6 +29,7 @@ class TopicsController < ApplicationController
|
||||
return wordpress if params[:best].present?
|
||||
|
||||
opts = params.slice(:username_filters, :filter, :page, :post_number)
|
||||
|
||||
begin
|
||||
@topic_view = TopicView.new(params[:id] || params[:topic_id], current_user, opts)
|
||||
rescue Discourse::NotFound
|
||||
|
Reference in New Issue
Block a user