diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-07-04 15:30:43 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-07-04 15:38:24 +0100 |
commit | 45aaf63033e7d4d24ba570f7460746fe28f9f59f (patch) | |
tree | 12c46eeff8c73aa68403cc4985ae16fafc1b4420 /perllib/FixMyStreet/App | |
parent | 1ace947ac1e6f9b0fd3bdf3e8cd3dec6d4473f27 (diff) |
Use static files for validation_rules.js.
No need for this to be generated via a template, it only differs
occasionally by cobrand.
Diffstat (limited to 'perllib/FixMyStreet/App')
-rwxr-xr-x | perllib/FixMyStreet/App/Controller/JS.pm | 2 |
1 files changed, 0 insertions, 2 deletions
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; |