This commit is contained in:
2014-07-30 10:15:40 +05:30
committed by Andreas Stephanides
parent 2b562fd7e0
commit 7d56d10431
35 changed files with 429 additions and 12 deletions

View File

@@ -17,7 +17,10 @@ class BeispieleController < ApplicationController
def show
# @lva = params([:lva]) unless params([:lva]).nil?
@beispiel = Beispiel.find(params[:id])
redirect_to @beispiel.lva
respond_to do |format|
format.html { redirect_to @beispiel.lva }
format.js
end
end
# GET /beispiele/new