lib/generators/templates/application/merb_flat/config/init.rb in merb-gen-0.9.5 vs lib/generators/templates/application/merb_flat/config/init.rb in merb-gen-0.9.6
- old
+ new
@@ -1,5 +1,7 @@
+$KCODE = 'UTF8'
+
# Move this to application.rb if you want it to be reloadable in dev mode.
Merb::Router.prepare do |r|
r.match('/').to(:controller => 'foo', :action =>'index')
r.default_routes
end
@@ -13,6 +15,6 @@
c[:session_id_key] = '_session_id',
c[:session_secret_key] = '<%= SHA1.new(rand(100000000000).to_s).to_s %>',
c[:exception_details] = true,
c[:reload_classes] = true,
c[:reload_time] = 0.5
-}
\ No newline at end of file
+}