aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Reaction/UI/Window.pm
diff options
context:
space:
mode:
authorwreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-08-20 19:13:58 +0000
committerwreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-08-20 19:13:58 +0000
commit8b3b48200a88bde182e3e66cd0380d88455ed3ea (patch)
treeb070a2716f2c4192c68169aa606fa2c855680574 /lib/Reaction/UI/Window.pm
parent1ef7b9da7545471cbab981e32d42dee14267beb6 (diff)
downloadreaction-8b3b48200a88bde182e3e66cd0380d88455ed3ea.tar.gz
reaction-8b3b48200a88bde182e3e66cd0380d88455ed3ea.zip
Window->content_type is rw now
Diffstat (limited to 'lib/Reaction/UI/Window.pm')
-rw-r--r--lib/Reaction/UI/Window.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Reaction/UI/Window.pm b/lib/Reaction/UI/Window.pm
index 8257c28..860bda8 100644
--- a/lib/Reaction/UI/Window.pm
+++ b/lib/Reaction/UI/Window.pm
@@ -8,7 +8,7 @@ use namespace::clean -except => [ qw(meta) ];
has ctx => (isa => 'Catalyst', is => 'ro', required => 1);
has view_name => (isa => 'Str', is => 'ro', lazy_fail => 1);
-has content_type => (isa => 'Str', is => 'ro', lazy_fail => 1);
+has content_type => (isa => 'Str', is => 'rw', lazy_fail => 1);
has title => (isa => 'Str', is => 'rw', default => sub { 'Untitled window' });
has view => (
# XXX compile failure because the Catalyst::View constraint would be