small fixes

removed beispiel show action
beautified search url
anchors for faqs fixed
This commit is contained in:
Andreas Stephanides
2014-03-29 14:05:33 +01:00
parent 5134e25b81
commit ddb230604c
9 changed files with 19 additions and 33 deletions

View File

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