public
Description: OneBody is web-based software that connects community members, especially churches, on the web.
Homepage: http://beonebody.com
Clone URL: git://github.com/seven1m/onebody.git
Load redirected links in scheduler for cap deployments.
Tim Morgan (author)
Tue Aug 19 18:08:31 -0700 2008
commit  b6b0fdb1617e47ba251e4342878f01895d865fea
tree    f601315beacfcedebef452f5ae6fd3f4305f5a1f
parent  471a6fe575ace050df45cd6ab01c552a5d3e910e
...
13
14
15
 
 
 
16
17
18
...
13
14
15
16
17
18
19
20
21
0
@@ -13,6 +13,9 @@ require 'time'
0
 config = YAML::load_file(RAILS_ROOT + '/config/database.yml')[RAILS_ENV]
0
 ActiveRecord::Base.establish_connection(config)
0
 
0
+if File.exist?(RAILS_ROOT + '/config/initializers/links.rb')
0
+  require RAILS_ROOT + '/config/initializers/links'
0
+end
0
 require RAILS_ROOT + '/config/initializers/paths'
0
 require RAILS_ROOT + '/vendor/plugins/acts_as_file/lib/acts_as_file'
0
 %w(scheduled_task site setting).each { |model| require RAILS_ROOT + "/app/models/#{model}" }

Comments