make a hyperlink from the counted keys

Refs Ticket #948
This commit is contained in:
Wouter D'Haeseleer 2012-06-20 17:16:56 +02:00
parent 316dfbaea8
commit c3d1f2eb9b

View file

@ -61,7 +61,7 @@
%h4 %h4
SSH public keys: SSH public keys:
%small.right %small.right
%span= current_user.keys.count %span= link_to current_user.keys.count, keys_path
= link_to "Add Public Key", new_key_path, :class => "btn small right" = link_to "Add Public Key", new_key_path, :class => "btn small right"