开发者

Ruby/Rails with Rails Engine (Redmine plugins) - Adding to a base view without overriding it?

I have a plugin that needs to add something the the base Redmine layout. The change consists of a couple divs and a call to a JavaScript function.开发者_如何学C Currently I am accomplishing this by simply overriding the base layout view.

I don't like doing this since if we upgrade Redmine any pages overridden would not update with the updated version. Is there a more elegant way to add this functionality?


You will want to use the Redmine Hooks to add content to the base layout.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜