un-duplicate code
Matt S Trout [Sun, 28 Oct 2012 14:07:50 +0000 (14:07 +0000)]
lib/App/SCS/Web.pm

index 4c5b451..52d8334 100644 (file)
@@ -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};