mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 12:13:37 +08:00
8b8c1291e7
This commit fixes the issue where the sub-category topic list was not loading for new-topic routes. Since we do not need to preload topic lists for new topic/message routes this commit adds a no-op controller that prevents topic lists pre loading and at the same time fixes the sub category topics not loading issue.
6 lines
101 B
Ruby
6 lines
101 B
Ruby
# frozen_string_literal: true
|
|
|
|
class NewTopicController < ApplicationController
|
|
def index; end
|
|
end
|