aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/admin_general/index.html.erb2
-rw-r--r--app/views/admin_public_body/index.html.erb2
-rw-r--r--app/views/contact_mailer/add_public_body.text.erb2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/admin_general/index.html.erb b/app/views/admin_general/index.html.erb
index 0991ea2f5..f9b6f5d3d 100644
--- a/app/views/admin_general/index.html.erb
+++ b/app/views/admin_general/index.html.erb
@@ -186,7 +186,7 @@
<%= form_tag admin_change_request_update_path(@change_request), :class => "form form-horizontal" do %>
<%= submit_tag 'Close', :class => "btn btn-danger" %>
<%= link_to("Close and respond", admin_change_request_edit_path(@change_request), :class => 'btn') %>
- <%= link_to("Add authority", admin_body_new_path(:change_request_id => @change_request.id), :class => 'btn btn-primary') %>
+ <%= link_to("Add authority", new_admin_body_path(:change_request_id => @change_request.id), :class => 'btn btn-primary') %>
<% end %>
<% end %>
diff --git a/app/views/admin_public_body/index.html.erb b/app/views/admin_public_body/index.html.erb
index 64d2deb42..8516de90c 100644
--- a/app/views/admin_public_body/index.html.erb
+++ b/app/views/admin_public_body/index.html.erb
@@ -8,7 +8,7 @@
<div class="btn-toolbar">
<div class="btn-group">
- <%= link_to 'New public authority', admin_body_new_path, :class => "btn btn-primary" %>
+ <%= link_to 'New public authority', new_admin_body_path, :class => "btn btn-primary" %>
</div>
<div class="btn-group">
<%= link_to 'Import from CSV file', admin_body_import_csv_path, :class => "btn btn-warning" %>
diff --git a/app/views/contact_mailer/add_public_body.text.erb b/app/views/contact_mailer/add_public_body.text.erb
index 5baa1fa1a..f3dc23aac 100644
--- a/app/views/contact_mailer/add_public_body.text.erb
+++ b/app/views/contact_mailer/add_public_body.text.erb
@@ -13,7 +13,7 @@
<%= @change_request.notes %>
<%= _('Add the authority:') %>
-<%= admin_body_new_url(:change_request_id => @change_request.id, :only_path => false ) %>
+<%= new_admin_body_url(:change_request_id => @change_request.id, :only_path => false ) %>
<%= _('Close the request and respond:') %>
<%= admin_change_request_edit_url(:id => @change_request.id, :only_path => false ) %>