This website requires JavaScript.
Explore
Help
Sign In
Discource-C
/
discourse
Watch
1
Star
0
Fork
0
You've already forked discourse
mirror of
https://github.com/discourse/discourse.git
synced
2025-02-06 03:18:23 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
discourse
/
app
/
controllers
/
new_topic_controller.rb
7 lines
102 B
Ruby
Raw
Normal View
History
Unescape
Escape
FIX: do not preload topic list for new topic/message routes (#18959) 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.
2022-11-09 20:57:42 +05:30
# frozen_string_literal: true
class
NewTopicController
<
ApplicationController
DEV: Apply syntax_tree formatting to `app/*`
2023-01-09 12:20:10 +00:00
def
index
end
FIX: do not preload topic list for new topic/message routes (#18959) 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.
2022-11-09 20:57:42 +05:30
end
Reference in New Issue
Copy Permalink