aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/help/api.rhtml
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-03-06 17:11:47 -0800
committerLouise Crow <louise.crow@gmail.com>2013-03-06 17:11:47 -0800
commitfc770ee6eb342d4562b6588612f1c9aca46f58e1 (patch)
tree8833be60c0f0cb39d33dbaf4538ceca8d848e57f /app/views/help/api.rhtml
parent455a1f07f3099d1d94fff2a7efcf99fb8fd6841d (diff)
parent7abb45b0549af892b7f1ec2beeca5a42f8c2ef7a (diff)
Merge remote-tracking branch 'openaustralia_github/make-links-relative' into develop
Conflicts: app/controllers/admin_request_controller.rb app/models/request_mailer.rb app/views/admin_general/index.rhtml app/views/admin_general/stats.rhtml app/views/admin_public_body/_one_list.rhtml app/views/admin_public_body/_tags.rhtml app/views/admin_public_body/show.rhtml app/views/admin_request/show.rhtml app/views/admin_user/show.rhtml app/views/layouts/admin.rhtml app/views/public_body/show.rhtml app/views/request/new.rhtml
Diffstat (limited to 'app/views/help/api.rhtml')
-rw-r--r--app/views/help/api.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/help/api.rhtml b/app/views/help/api.rhtml
index da6253f87..3a6c867ee 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_path(: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>