[#3827] Don't hardcode the core tabs with alias_method_chain.

This commit is contained in:
Eric Davis
2010-07-27 06:15:14 -07:00
parent f60a5154dd
commit cec35ad3af
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ Dispatcher.to_prepare :redmine_rate do
TimeEntry.send(:include, RateTimeEntryPatch)
require_dependency 'users_helper'
UsersHelper.send(:include, RateUsersHelperPatch)
UsersHelper.send(:include, RateUsersHelperPatch) unless UsersHelper.included_modules.include?(RateUsersHelperPatch)
end
# Hooks