deploy key creation restyled
This commit is contained in:
parent
809413d9e7
commit
c9ea5f1316
10 changed files with 41 additions and 62 deletions
|
@ -1,5 +1,5 @@
|
|||
class DeployKeysController < ApplicationController
|
||||
respond_to :js, :html
|
||||
respond_to :html
|
||||
layout "project"
|
||||
before_filter :project
|
||||
|
||||
|
@ -29,7 +29,7 @@ class DeployKeysController < ApplicationController
|
|||
@key = @project.deploy_keys.new(params[:key])
|
||||
@key.save
|
||||
|
||||
respond_with(@key)
|
||||
redirect_to project_deploy_keys_path(@project)
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue