mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Feature: Hide plugins that ship with core from plugins panel
This commit is contained in:
parent
c0a87f1fbf
commit
19605e8b0b
6 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
# url: https://github.com/discourse/discourse/tree/master/plugins/discourse-details
|
||||
|
||||
enabled_site_setting :details_enabled
|
||||
hide_plugin if self.respond_to?(:hide_plugin)
|
||||
|
||||
register_asset "javascripts/details.js"
|
||||
register_asset "stylesheets/details.scss"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue