From 45aaf63033e7d4d24ba570f7460746fe28f9f59f Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Mon, 4 Jul 2016 15:30:43 +0100 Subject: Use static files for validation_rules.js. No need for this to be generated via a template, it only differs occasionally by cobrand. --- perllib/FixMyStreet/App/Controller/JS.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'perllib/FixMyStreet/App/Controller/JS.pm') diff --git a/perllib/FixMyStreet/App/Controller/JS.pm b/perllib/FixMyStreet/App/Controller/JS.pm index 483c3c2cc..1ced9d43b 100755 --- a/perllib/FixMyStreet/App/Controller/JS.pm +++ b/perllib/FixMyStreet/App/Controller/JS.pm @@ -24,8 +24,6 @@ sub translation_strings : LocalRegex('^translation_strings\.(.*?)\.js$') : Args( $c->res->content_type( 'application/javascript' ); } -sub validation_rules : Path('validation_rules.js') : Args(0) { } - __PACKAGE__->meta->make_immutable; 1; -- cgit v1.2.3