diff options
author | Struan Donald <struan@exo.org.uk> | 2019-03-22 12:45:43 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2019-03-25 14:31:00 +0000 |
commit | 44e52db4d0eb01e09b4c4210203eeb485c637b49 (patch) | |
tree | e12826d88e466bfcecc6c03b7e1d685d44cfb1ba /perllib | |
parent | 6ddee0561b6a91d9a82dae6a0941454dd2d2ac24 (diff) |
Allow cobrand customisation of privacy URL
Add a privacy_policy_url function to the cobrand and use that in the
templates instead of hard coding /privacy
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index 785177b5e..946523626 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -1246,4 +1246,12 @@ still be sent (because it wasn't disabled on the FixMyStreet cobrand). sub send_moderation_notifications { 1 } +=item privacy_policy_url + +The URL of the privacy policy to use on the report and update submissions forms. + +=cut + +sub privacy_policy_url { '/privacy' } + 1; |