forked from bofh/fetsite
is updated button für themen
This commit is contained in:
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user