Skip to content

Commit

Permalink
topic post hook
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Jul 10, 2014
1 parent 1d8aeda commit b2ece27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/topics/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ module.exports = function(Topics) {
topicData = topicData[0];
topicData.unreplied = 1;

plugins.fireHook('action:topic.post', topicData);

next(null, {
topicData: topicData,
postData: postData
Expand Down

0 comments on commit b2ece27

Please sign in to comment.