diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-06-30 10:26:26 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-06-30 10:26:26 -0400 |
commit | 7f6458d67fa9e7f67e18e97ac61d5575dd1ccb21 (patch) | |
tree | c3f24047853a693cf889bbc00b436758d4c154a0 /app/controllers/servers_controller.rb | |
parent | a8617d93a18ba0f1765fc58c38c26f51e2ff975d (diff) | |
parent | e2796a3f26c200123f81a9957b84378aad6fc952 (diff) |
Merge branch 'css-rewrite'
Diffstat (limited to 'app/controllers/servers_controller.rb')
-rw-r--r-- | app/controllers/servers_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/servers_controller.rb b/app/controllers/servers_controller.rb index 83a9f31..6ae879f 100644 --- a/app/controllers/servers_controller.rb +++ b/app/controllers/servers_controller.rb @@ -13,7 +13,7 @@ class ServersController < ApplicationController def update respond_to do |format| if @server.update(server_params) - format.html { redirect_to @server, notice: 'Server was successfully updated.' } + format.html { redirect_to edit_server_url, notice: 'Server was successfully updated.' } format.json { head :no_content } else format.html { render action: 'edit' } |