From 8e8f8bb435ad66deaf9d7a9eb1ec221fde3540d2 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Wed, 13 Feb 2013 17:45:59 +1100 Subject: Make links to within the site use relative urls --- app/views/help/api.rhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/views/help/api.rhtml') diff --git a/app/views/help/api.rhtml b/app/views/help/api.rhtml index da6253f87..84ec2f590 100644 --- a/app/views/help/api.rhtml +++ b/app/views/help/api.rhtml @@ -19,7 +19,7 @@
Linking to new requests

To encourage your users to make links to a particular public authority, use URLs of the form - <%= link_to new_request_to_body_url(:url_name => "liverpool_city_council") , new_request_to_body_url(:url_name => "liverpool_city_council") %>. + <%= link_to new_request_to_body_url(:url_name => "liverpool_city_council") , new_request_to_body_path(:url_name => "liverpool_city_council") %>. These are the parameters you can add to those URLs, either in the URL or from a form.