From: Errietta Kostala <errietta@errietta.me>
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=refs%2Fheads%2Fredesign;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) {