From 5194f50467869bdf2bc1a5a85e9896111f940acb Mon Sep 17 00:00:00 2001 From: phaylon Date: Tue, 7 Apr 2009 14:51:05 +0000 Subject: also added meta_info/http_header example to componentui app --- lib/ComponentUI/Controller/Root.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/ComponentUI') diff --git a/lib/ComponentUI/Controller/Root.pm b/lib/ComponentUI/Controller/Root.pm index 9f57fa9..e0935d9 100644 --- a/lib/ComponentUI/Controller/Root.pm +++ b/lib/ComponentUI/Controller/Root.pm @@ -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', + }, + }, ); } -- cgit v1.2.3-54-g00ecf