From e81c263ba036919d383a5791204f7f70f8694f78 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Sun, 19 Oct 2014 16:35:23 +0200 Subject: [PATCH] is_wiki fix thmen --- app/controllers/themen_controller.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/controllers/themen_controller.rb b/app/controllers/themen_controller.rb index f56126f..66a10eb 100644 --- a/app/controllers/themen_controller.rb +++ b/app/controllers/themen_controller.rb @@ -65,10 +65,7 @@ class ThemenController < ApplicationController def edit @thema = Thema.find(params[:id]) - if @thema.is_wiki? - redirect_to edit_wiki_path(Wiki.find(@thema.id)) - return - end + respond_to do |format| format.html format.js { @themen= @thema.themengruppe.themen }