un-duplicate code
[scpubgit/App-SCS.git] / 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};