DRY up the loading of the installer modules.
This commit is contained in:
parent
1450f39d8c
commit
ac264606c8
@ -1,5 +1,3 @@
|
|||||||
require File.join(File.dirname(__FILE__), 'installers', 'manifest')
|
%w(manifest template_context base stand_alone rails).each do |f|
|
||||||
require File.join(File.dirname(__FILE__), 'installers', 'base')
|
require File.join(File.dirname(__FILE__), 'installers', f)
|
||||||
require File.join(File.dirname(__FILE__), 'installers', 'stand_alone')
|
end
|
||||||
require File.join(File.dirname(__FILE__), 'installers', 'rails')
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user