diff options
author | Henare Degan <henare.degan@gmail.com> | 2015-04-14 11:51:37 +1000 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2015-04-14 11:51:37 +1000 |
commit | a0fd013dc2ddb5cef57eda49078013663c8abd53 (patch) | |
tree | 55676bb7022cdf86c0e1d984d5638f1b94b00931 | |
parent | 7e631bf6e59c6e96ec44e5f5d400664b9ef95e09 (diff) |
Change link to browse other requests to one that has requests
When you're starting a request to an authority that has no existing
requests we display a handy link to "Browse other requests for
examples of how to word your request". However this currently sends
you to a page that has no requests (a blank request search page).
This change sends you to the list of successful requests as these are
most likely to have wording that will help the requester.
-rw-r--r-- | app/views/request/new.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/request/new.html.erb b/app/views/request/new.html.erb index e1ff966e6..23f7ad76a 100644 --- a/app/views/request/new.html.erb +++ b/app/views/request/new.html.erb @@ -144,7 +144,7 @@ <% if @info_request.public_body.info_requests.size > 0 %> <%= _("Browse <a href='{{url}}'>other requests</a> to '{{public_body_name}}' for examples of how to word your request.", :public_body_name=>h(@info_request.public_body.name), :url=>public_body_path(@info_request.public_body)) %> <% else %> - <%= _("Browse <a href='{{url}}'>other requests</a> for examples of how to word your request.", :url=>request_list_url) %> + <%= _("Browse <a href='{{url}}'>other requests</a> for examples of how to word your request.", :url=>request_list_successful_url) %> <% end %> </p> <% end %> |