aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Houston <robin@lenny.robin>2011-07-06 12:20:25 +0100
committerRobin Houston <robin@lenny.robin>2011-07-06 12:20:25 +0100
commitfd90b2d569b6ad996ff39b27aaf6bdbd7f475f2f (patch)
tree34800ba5b0fb7077daa18c245468ece99327d7c8
parent1e717f9aed8ee033f1ba318ae5507e937e010a59 (diff)
Correct the links to the list of banned users.
(I assume this path has changed?)
-rw-r--r--app/views/admin_user/_form.rhtml2
-rw-r--r--app/views/admin_user/list.rhtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin_user/_form.rhtml b/app/views/admin_user/_form.rhtml
index 767427b3e..ba2bd8f8b 100644
--- a/app/views/admin_user/_form.rhtml
+++ b/app/views/admin_user/_form.rhtml
@@ -15,7 +15,7 @@
user from filing new requests, making annotations or messaging other users;
the text is shown in public on the user's page and when they try to do a
forbidden action; write in the second person (you); see
- <%= link_to 'banned users', '../list_banned' %> for examples</small>)<br/>
+ <%= link_to 'banned users', '../banned' %> for examples</small>)<br/>
<%= text_area 'admin_user', 'ban_text', :cols => 60, :rows => 3 %></p>
diff --git a/app/views/admin_user/list.rhtml b/app/views/admin_user/list.rhtml
index 3803598e8..9de381ecc 100644
--- a/app/views/admin_user/list.rhtml
+++ b/app/views/admin_user/list.rhtml
@@ -6,7 +6,7 @@
<p>
<%= text_field_tag 'query', params[:query], { :size => 30 } %>
<%= submit_tag "Search" %> (substring search, names and emails)
- <%= link_to 'Banned users', 'list_banned' %>
+ <%= link_to 'Banned users', 'banned' %>
</p>
<% end %>