diff options
author | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-11-11 19:51:04 +0000 |
---|---|---|
committer | groditi <groditi@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2008-11-11 19:51:04 +0000 |
commit | 0209ee1b140549013842f9534b2d9d8b79d1e152 (patch) | |
tree | cad1774f3008580f671cffdecaf45167c516b996 /lib/ComponentUI | |
parent | 2082d8f2b89d9feba7549e407983e43bb10dd82f (diff) | |
download | reaction-0209ee1b140549013842f9534b2d9d8b79d1e152.tar.gz reaction-0209ee1b140549013842f9534b2d9d8b79d1e152.zip |
other memory leak
Diffstat (limited to 'lib/ComponentUI')
-rw-r--r-- | lib/ComponentUI/Controller/Root.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ComponentUI/Controller/Root.pm b/lib/ComponentUI/Controller/Root.pm index 4113a73..9f57fa9 100644 --- a/lib/ComponentUI/Controller/Root.pm +++ b/lib/ComponentUI/Controller/Root.pm @@ -31,6 +31,10 @@ sub root :Chained('base') :PathPart('') :Args(0) { $self->push_viewport(ViewPort, layout => 'index'); } +sub bye :Chained('base') :PathPart('bye') :Args(0) { + exit; +} + sub static :Chained('base') :PathPart('static') :Args { my ($self, $c, @args) = @_; return if $c->stash->{window}->view->serve_static_file($c, \@args); |