added meta_info/http_header viewport option example to tutorial (abraxxa++)
phaylon [Tue, 7 Apr 2009 14:39:30 +0000 (14:39 +0000)]
lib/Reaction/Manual/Tutorial.pod

index 38f98f8..955f7d5 100644 (file)
@@ -78,6 +78,11 @@ the root namespace for our application. For this purpose, it should look like th
       $self->push_viewport(SiteLayout,
           title           => 'MyApp Test Title',
           static_base_uri => join('', $ctx->uri_for('/static')),
+          meta_info       => {
+              http_header   => {
+                  'Content-Type' => 'text/html;charset=utf-8',
+              },
+          },
       );
   }