diff --git a/app/controllers/themen_controller.rb b/app/controllers/themen_controller.rb index 3490b13..18b9dfb 100644 --- a/app/controllers/themen_controller.rb +++ b/app/controllers/themen_controller.rb @@ -14,7 +14,7 @@ class ThemenController < ApplicationController respond_to do |format| format.html { - redirect_to :controller=>'themengruppen', :id=>@thema.themengruppe.id, :action=>:show, :anchor=> "thema_"+params[:id].to_s +# redirect_to :controller=>'themengruppen', :id=>@thema.themengruppe.id, :action=>:show, :anchor=> "thema_"+params[:id].to_s } format.js end diff --git a/app/views/themen/show.html.erb b/app/views/themen/show.html.erb index 78a47ea..6d16cb7 100644 --- a/app/views/themen/show.html.erb +++ b/app/views/themen/show.html.erb @@ -1,8 +1,27 @@

<%= notice %>

<%= link_to "Zurück", @thema.themengruppe %>
-
-<%= render :partial=>"themen/small", :object=>@thema %> +<% thema=@thema %> +
+ <%= render :partial => 'themen/small', :object => thema %> +
-<%= render :partial=>'layouts/pretty_toolbar' %> + + + + +<% # render :partial=>'layouts/pretty_toolbar' %>