summaryrefslogtreecommitdiff
path: root/app/controllers/deploy_keys_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/deploy_keys_controller.rb')
-rw-r--r--app/controllers/deploy_keys_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/deploy_keys_controller.rb b/app/controllers/deploy_keys_controller.rb
index 36e42789e11..ae3feb7256f 100644
--- a/app/controllers/deploy_keys_controller.rb
+++ b/app/controllers/deploy_keys_controller.rb
@@ -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