Patch #32461
Allow Redmine:MyPage to be overriden in plugins
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | My page | |||
Target version: | - |
Description
Hi,
In the UserPreference model, Redmine:MyPage is required like this :
require 'redmine/my_page'
It will be very helpful to be able to override methods of this module , for that require_dependency is necessary, if not overrides are not taken in account.
require_dependency 'redmine/my_page'
This blocks a plugin I try to publish : http://www.redmine.org/issues/31224
Thanks a lot.
History
#1
Updated by Jérôme BATAILLE over 2 years ago
Hi, this small change is mainly necessary for development mode.