diff --git a/app/controllers/translations_controller.rb b/app/controllers/translations_controller.rb index 7c3ea67..af3dda3 100644 --- a/app/controllers/translations_controller.rb +++ b/app/controllers/translations_controller.rb @@ -26,7 +26,7 @@ class TranslationsController < ApplicationController respond_to do |format| if @translation.save - format.html { redirect_to @translation.problem, notice: t('translations.notice.successfully_created') } + format.html { redirect_to @problem, notice: t('translations.notice.successfully_created') } format.json { render :show, status: :created, location: @translation } else format.html { render :new }