links for admin
This commit is contained in:
parent
53421e060a
commit
3208b6747d
4 changed files with 3 additions and 5 deletions
|
@ -18,8 +18,6 @@ class KeysController < ApplicationController
|
|||
respond_with(@key)
|
||||
end
|
||||
|
||||
# DELETE /keys/1
|
||||
# DELETE /keys/1.json
|
||||
def destroy
|
||||
@key = current_user.keys.find(params[:id])
|
||||
@key.destroy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue