aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-02-23 11:25:50 +0000
committerEdmund von der Burg <evdb@mysociety.org>2011-02-23 11:25:50 +0000
commit1c7739a338f4c4447a1ce0ba3e8ebfe56bd9f164 (patch)
tree47aef6dcfccc6dfb68d9c7827a2032c5bcbc6e05
parent0f515f88ef3ca7c5711c41f8066afb689e3f5b58 (diff)
Move default templates to 'default' dir so that we can use allow cobrands to override them
-rw-r--r--perllib/FixMyStreet/App/View/Web.pm2
-rw-r--r--templates/web/default/errors/page_not_found.html (renamed from templates/web/errors/page_not_found.html)0
2 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm
index 0cb8e21b8..a201242bc 100644
--- a/perllib/FixMyStreet/App/View/Web.pm
+++ b/perllib/FixMyStreet/App/View/Web.pm
@@ -9,7 +9,7 @@ use FixMyStreet::App;
__PACKAGE__->config(
TEMPLATE_EXTENSION => '.html',
INCLUDE_PATH => [ #
- FixMyStreet::App->path_to( 'templates', 'web' ),
+ FixMyStreet::App->path_to( 'templates', 'web', 'default' ),
],
render_die => 1,
);
diff --git a/templates/web/errors/page_not_found.html b/templates/web/default/errors/page_not_found.html
index 92ceb3106..92ceb3106 100644
--- a/templates/web/errors/page_not_found.html
+++ b/templates/web/default/errors/page_not_found.html