summaryrefslogtreecommitdiff
path: root/app/controllers/servers_controller.rb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-05-01 12:11:15 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-05-01 12:11:15 -0400
commit5ce55c00ac72bc6fbdd095d7ee697cfa35ea8cc4 (patch)
treef8f73510819a16d0119342ba6e552755bc5f3ec1 /app/controllers/servers_controller.rb
parent47bb545740937d50b72e0d1c420fcba4e64d6760 (diff)
Redo styles to be "pure"/simple bootstrap, and fix found issues with forms.
Diffstat (limited to 'app/controllers/servers_controller.rb')
-rw-r--r--app/controllers/servers_controller.rb2
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' }