Registering our model
Our model is now capable of integrating with the Redmine activity stream; however, Redmine is still unaware of our model in this context.
In order to have our model's events actually represented in the activity stream, our plugin initialization file needs to be updated.
Redmine::Activity.register :kb_articles
The preceding entry needs to be added to our init.rb
file after the Redmine::Plugin.register
block.
Now that we have registered our model with Redmine, the implementation of acts_as_activity_provider
will produce results in a project's activity stream.