Skip to content

A platform for community discussion. Free, open, simple.

DEV: Added before-create-topic-button plugin-outlet (#10109)

marielaSAGe45307a1058a
diff --git a/app/assets/javascripts/discourse/app/templates/tags/show.hbs b/app/assets/javascripts/discourse/app/templates/tags/show.hbs
index 909b20a1985..08b966721ad 100644
--- a/app/assets/javascripts/discourse/app/templates/tags/show.hbs
+++ b/app/assets/javascripts/discourse/app/templates/tags/show.hbs
@@ -34,6 +34,13 @@
}}
{{/unless}}
{{/if}}
+
+ {{plugin-outlet name="before-create-topic-button"
+ args=(hash
+ canCreateTopic=canCreateTopic
+ createTopicDisabled=createTopicDisabled
+ createTopicLabel=createTopicLabel)
+ }}
{{create-topic-button
canCreateTopic=canCreateTopic