kleiner bugfix, layout

This commit is contained in:
Thomas Blazek
2013-08-10 00:58:09 +02:00
parent 1a10f4fc5e
commit 9d8b8ad3d6
4 changed files with 21 additions and 15 deletions

View File

@@ -42,7 +42,7 @@ class BeispieleController < ApplicationController
# POST /beispiele.json
def create
@beispiel = Beispiel.new(params[:beispiel])
respond_to do |format|
if @beispiel.save
format.html { redirect_to @beispiel, notice: 'Beispiel was successfully created.' }