From: Matt S Trout Date: Sun, 28 Oct 2012 14:07:50 +0000 (+0000) Subject: un-duplicate code X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b46fac77b39b114a1e653f40ba8d7411f44d463e;p=scpubgit%2FApp-SCS.git un-duplicate code --- diff --git a/lib/App/SCS/Web.pm b/lib/App/SCS/Web.pm index 4c5b451..52d8334 100644 --- a/lib/App/SCS/Web.pm +++ b/lib/App/SCS/Web.pm @@ -12,13 +12,6 @@ sub _build__page_dispatchers { [ map $_->page_dispatchers, reverse @{$self->app->plugins} ] } -has _page_dispatchers => (is => 'lazy'); - -sub _build__page_dispatchers { - my ($self) = @_; - [ map $_->page_dispatchers, reverse @{$self->app->plugins} ] -} - sub dispatch_request { my ($self) = @_; return @{$self->_page_dispatchers};