diff --git a/app/controllers/themen_controller.rb b/app/controllers/themen_controller.rb index 66a10eb..1b5a875 100644 --- a/app/controllers/themen_controller.rb +++ b/app/controllers/themen_controller.rb @@ -92,7 +92,13 @@ class ThemenController < ApplicationController end end end - def fragen + def is_updated + @thema = Thema.find(params[:id]) + @thema.translation.touch + + redirect_to @thema + end + def fragen @thema = Thema.find(params[:id]) @fragen=@thema.fragen respond_to do |format| diff --git a/app/views/themen/_small.html.erb b/app/views/themen/_small.html.erb index 2e4b269..7fa22c6 100644 --- a/app/views/themen/_small.html.erb +++ b/app/views/themen/_small.html.erb @@ -3,7 +3,7 @@