Path correction
This commit is contained in:
parent
753d4cb25e
commit
f7b911d239
3 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@ class DeployKeysController < ApplicationController
|
|||
end
|
||||
|
||||
def create
|
||||
@key = @project.deploy_keys.new(params[:key])
|
||||
@key = @project.deploy_keys.new(params[:deploy_key])
|
||||
@key.save
|
||||
|
||||
respond_with(@key)
|
||||
|
@ -35,7 +35,7 @@ class DeployKeysController < ApplicationController
|
|||
@key.destroy
|
||||
|
||||
respond_to do |format|
|
||||
format.html { redirect_to deploy_keys_url }
|
||||
format.html { redirect_to project_deploy_keys_url }
|
||||
format.js { render :nothing => true }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue