aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/JS.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-12-06 19:34:34 +0000
committerStruan Donald <struan@exo.org.uk>2012-12-06 19:34:34 +0000
commit32af4e21192ad50eaf6c2e650ce3830235445b5c (patch)
tree717f2e1b0d160e92d15de14dd3ee89fb390c0b19 /perllib/FixMyStreet/App/Controller/JS.pm
parent34b60dcfd710e536810401729c94bbb78322df9a (diff)
move validation rules out to a template so cobrands can override them
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/JS.pm')
-rwxr-xr-xperllib/FixMyStreet/App/Controller/JS.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/JS.pm b/perllib/FixMyStreet/App/Controller/JS.pm
index ae2f06605..d7847af75 100755
--- a/perllib/FixMyStreet/App/Controller/JS.pm
+++ b/perllib/FixMyStreet/App/Controller/JS.pm
@@ -24,6 +24,8 @@ sub validation_strings : LocalRegex('^validation_strings\.(.*?)\.js$') : Args(0)
$c->res->content_type( 'application/javascript' );
}
+sub validation_rules : Path('validation_rules.js') : Args(0) { }
+
__PACKAGE__->meta->make_immutable;
1;