Allow user to creates named auth keys with token

This commit is contained in:
Thibault Jouan
2015-05-04 04:34:13 +00:00
parent 7d1274cbb3
commit 763c9789ec
12 changed files with 174 additions and 1 deletions

13
app/views/keys/show.haml Normal file
View File

@@ -0,0 +1,13 @@
%h1
Showing
key
%pre= @key.attributes.to_yaml
%ul.actions
%li
= link_to 'Edit', edit_key_path(@key)
%li
= link_to 'Destroy', e, method: :delete, data: { confirm: 'Are you sure?' }