Project

General

Profile

Actions

Patch #32461

open

Allow Redmine:MyPage to be overriden in plugins

Added by Jérôme BATAILLE over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
My page
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by Jérôme BATAILLE over 4 years ago

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

Actions

Also available in: Atom PDF