examples/blog/conf/app.conf.rb in nitro-0.9.3 vs examples/blog/conf/app.conf.rb in nitro-0.9.5
- old
+ new
@@ -5,12 +5,10 @@
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
$:.unshift File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')
$DBG = true
-require 'ostruct'
-
require 'nitro'
require 'glue/validation'
require 'og'
require 'blog'
@@ -43,14 +41,12 @@
)
)
Rendering.reload = :partial
-conf = {
+$conf = {
:name => 'Nitro Blog',
:host => 'localhost',
- :port => 8080,
+ :port => 8069,
:dispatcher => dispatcher,
:og => og
}
-
-$conf = OpenStruct.new(conf)