dispatcher.diff
init.rb (working copy) | ||
---|---|---|
1 | 1 |
require 'redmine' |
2 | 2 |
require 'dispatcher' |
3 | 3 | |
4 |
require_dependency 'principal' |
|
5 |
require_dependency 'user' |
|
6 | 4 | |
7 |
require_dependency 'profile_hook' |
|
8 | ||
9 | 5 |
RAILS_DEFAULT_LOGGER.info 'Starting Extended Profile plugin for Redmine' |
10 | 6 | |
11 | 7 |
Dispatcher.to_prepare :extended_profile_plugin do |
8 |
require_dependency 'principal' |
|
9 |
require_dependency 'user' |
|
10 |
|
|
11 |
require_dependency 'profile_hook' |
|
12 | 12 |
unless User.included_modules.include?(ExtendedUserPatch) |
13 | 13 |
User.send(:include, ExtendedUserPatch) |
14 | 14 |
end |