diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2013-02-13 17:45:59 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2013-02-15 12:22:23 +1100 |
commit | 8e8f8bb435ad66deaf9d7a9eb1ec221fde3540d2 (patch) | |
tree | 9d0ef4de6705f37eaa19d30d33269a972aa9843b /app/views/help/api.rhtml | |
parent | 448dce2ce597937bb7af006065076c85d11d95ff (diff) |
Make links to within the site use relative urls
Diffstat (limited to 'app/views/help/api.rhtml')
-rw-r--r-- | app/views/help/api.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <dt>Linking to new requests</dt> <dd> <p>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. <ul> @@ -67,7 +67,7 @@ <dd> <p> A spreadsheet file listing every body in WhatDoTheyKnow is available: - <%= link_to "all-authorities.csv", all_public_bodies_csv_url() %> + <%= link_to "all-authorities.csv", all_public_bodies_csv_path %> </p> </dd> |