#143 fixed
themen fixed
This commit is contained in:
2014-06-10 18:47:16 +05:30
parent 6451c0f175
commit 67ccecaf51
10 changed files with 49 additions and 24 deletions

View File

@@ -33,9 +33,7 @@ class ThemenController < ApplicationController
def verwalten
@thema = Thema.find(params[:id])
@attachment=Attachment.new
unless (@thema.is_wiki?)
redirect_to verwalten_wiki_path(Wiki.find(@thema.id))
end
@fragen=@thema.fragen
@toolbar_elements = [{:icon=>:pencil, :hicon=>'icon-pencil', :text=>"Verwalten", :path=>verwalten_thema_path(@thema)}]