A platform for community discussion. Free, open, simple.
DEV: Pass editFirstPost action to plugin outlet in topic.hbs (#12582)
Mark VanLandingham1d2ddbfebfe8
diff --git a/app/assets/javascripts/discourse/app/templates/topic.hbs b/app/assets/javascripts/discourse/app/templates/topic.hbsindex 8da389d5e92..e4565846b4e 100644--- a/app/assets/javascripts/discourse/app/templates/topic.hbs+++ b/app/assets/javascripts/discourse/app/templates/topic.hbs@@ -10,7 +10,7 @@{{shared-draft-controls topic=model}}{{/if}}- {{plugin-outlet name="topic-above-post-stream" args=(hash model=model)}}+ {{plugin-outlet name="topic-above-post-stream" args=(hash model=model editFirstPost=(action "editFirstPost"))}}{{#if model.postStream.loaded}}{{#if model.postStream.firstPostPresent}}