aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ComponentUI
diff options
context:
space:
mode:
authormatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-01-30 16:33:10 +0000
committermatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-01-30 16:33:10 +0000
commit8a293e2eee23938229a7dbfb617faee579914dfc (patch)
treef1626e9facac38a6b323c92e7d31585e5902cbba /lib/ComponentUI
parent46937531eb2d28950b21c8b0982539e28b277b60 (diff)
downloadreaction-8a293e2eee23938229a7dbfb617faee579914dfc.tar.gz
reaction-8a293e2eee23938229a7dbfb617faee579914dfc.zip
first cut of Reaction::UI::Skin and SiteLayout VP+widget
Diffstat (limited to 'lib/ComponentUI')
-rw-r--r--lib/ComponentUI/Controller/Root.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ComponentUI/Controller/Root.pm b/lib/ComponentUI/Controller/Root.pm
index a4d42ee..2e2a181 100644
--- a/lib/ComponentUI/Controller/Root.pm
+++ b/lib/ComponentUI/Controller/Root.pm
@@ -6,6 +6,7 @@ use base 'Reaction::UI::Controller::Root';
use Reaction::Class;
use aliased 'Reaction::UI::ViewPort';
+use aliased 'Reaction::UI::ViewPort::SiteLayout';
#
# Sets the actions in this controller to be registered with no prefix
@@ -19,7 +20,10 @@ __PACKAGE__->config(
sub base :Chained('/') :PathPart('') :CaptureArgs(0) {
my ($self, $c) = @_;
- $self->push_viewport(ViewPort, layout => 'layout');
+ $self->push_viewport(SiteLayout,
+ title => 'ComponentUI test title',
+ static_base_uri => "${\$c->uri_for('static')}",
+ );
}
sub root :Chained('base') :PathPart('') :Args(0) {