From: Errietta Kostala Date: Tue, 12 Aug 2014 16:11:36 +0000 (+0100) Subject: Config only from the previous dir on X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4f4c6490267ea377e0dfef3ef6c0d473a90aba79;p=scpubgit%2FApp-SCS.git Config only from the previous dir on --- diff --git a/lib/App/SCS/Page.pm b/lib/App/SCS/Page.pm index 7a1786d..3cddfcf 100644 --- a/lib/App/SCS/Page.pm +++ b/lib/App/SCS/Page.pm @@ -30,6 +30,7 @@ sub _build_plugin_config { : []; my @dirs = io->dir($self->path)->splitdir; + pop @dirs; my $path = ''; foreach my $dir (@dirs) {