Skip to content

Commit

Permalink
Chore(Server Controller): Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisma committed Mar 27, 2019
1 parent 3b9c324 commit 11ebec6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/controllers/servers_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def create
render :new
end
end

# PATCH/PUT /servers/1
def update
if @server.update(server_params)
Expand All @@ -39,15 +39,15 @@ def update
render :edit
end
end

# DELETE /servers/1
def destroy
@server.destroy
redirect_to servers_path, notice: 'Server was successfully deleted.'
end

private

# Use callbacks to share common setup or constraints between actions.
def set_server
@server = Server.find(params[:id])
Expand Down

0 comments on commit 11ebec6

Please sign in to comment.