have project status and planning element status enums loaded in development

pull/173/head
Jens Ulferts 12 years ago
parent 2041c96588
commit 8c04c76c86
  1. 8
      app/models/enumeration.rb

@ -133,6 +133,8 @@ private
end
# Force load the subclasses in development mode
require_dependency 'time_entry_activity'
require_dependency 'document_category'
require_dependency 'issue_priority'
['time_entry_activity', 'document_category', 'issue_priority',
'reported_project_status', 'planning_element_status'].each do |enum_subclass|
require_dependency enum_subclass
end

Loading…
Cancel
Save