Patch #32461

Allow Redmine:MyPage to be overriden in plugins

Added by Jérôme BATAILLE over 1 year ago. Updated over 1 year ago.

Status:NewStart date:
Priority:NormalDue 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 1 year ago

Hi, this small change is mainly necessary for development mode.

Also available in: Atom PDF