diff --git a/users/templates/users/aff_shell.html b/users/templates/users/aff_shell.html
index ad325ddf..a660f88b 100644
--- a/users/templates/users/aff_shell.html
+++ b/users/templates/users/aff_shell.html
@@ -39,7 +39,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% can_edit shell %}
{% include 'buttons/edit.html' with href='users:edit-shell' id=shell.id %}
{% acl_end %}
- {% include 'buttons/history.html' with href='users:history' name='shell' id=shell.id %}
+ {% include 'buttons/history.html' with href='users:history' name='listshell' id=shell.id %}
{% endfor %}