links for admin

This commit is contained in:
gitlabhq 2011-10-15 00:12:02 +03:00
parent 53421e060a
commit 3208b6747d
4 changed files with 3 additions and 5 deletions

View file

@ -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