also added meta_info/http_header example to componentui app
phaylon [Tue, 7 Apr 2009 14:51:05 +0000 (14:51 +0000)]
lib/ComponentUI/Controller/Root.pm

index 9f57fa9..e0935d9 100644 (file)
@@ -23,6 +23,11 @@ sub base :Chained('/') :PathPart('') :CaptureArgs(0) {
   $self->push_viewport(SiteLayout,
     title => 'ComponentUI test title',
     static_base_uri => "${\$c->uri_for('/static')}",
+    meta_info => {
+      http_header => {
+        'Content-Type' => 'text/html;charset=utf-8',
+      },
+    },
   );
 }