AutoCommit Don Jul 2 13:03:01 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-07-02 13:03:01 +02:00
parent 7e5e8ea688
commit 783ba0d030
4 changed files with 4 additions and 5 deletions

View File

@@ -115,6 +115,7 @@ class BeispieleController < ApplicationController
respond_to do |format|
if @beispiel.update_attributes(params[:beispiel])
format.html { redirect_to @backlink, notice: 'Beispiel was successfully updated.' }
format.js {render action: "show"}
format.json { head :no_content }
else
format.html { render action: "edit" }