···4141 cattr_accessor :name
4242 @@name = "App"
43434444+ # for controllers to be relative to a global base path
4545+ cattr_accessor :base_path
4646+ @@base_path = "/"
4747+4448 # to be replaced by an absolute url with scheme/domain
4549 cattr_accessor :base_url
4650 @@base_url = "/"
···156160 if File.exists?(_c = "#{App.root}/config/#{App.environment}.rb")
157161 require _c
158162 end
163163+164164+ # per-app initialization, not specific to environment
165165+ if File.exists?(_c = "#{App.root}/config/app.rb")
166166+ require _c
167167+ end
159168end
160169161170# bring in model base
···230239 App.all_routes[p] = subklass
231240 end
232241end
233233-234234-# per-app initialization, not specific to environment
235235-if File.exists?(_c = "#{App.root}/config/app.rb")
236236- require _c
237237-end