deploy key creation restyled

This commit is contained in:
Dmitriy Zaporozhets 2012-01-18 00:46:13 +02:00
parent 809413d9e7
commit c9ea5f1316
10 changed files with 41 additions and 62 deletions

View file

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