mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 14:14:27 +08:00

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
|