fix tasks error reference

This commit is contained in:
wvengen 2013-04-12 01:08:35 +02:00
parent 692c70d324
commit 368d44e26b
2 changed files with 2 additions and 3 deletions

View File

@ -91,7 +91,7 @@ class TasksController < ApplicationController
def workgroup
@group = Group.find(params[:workgroup_id])
if @group.is_a? Ordergroup
redirect_to tasks_url, :alert => I18n.t('tasks.workgroup.error_not_found')
redirect_to tasks_url, :alert => I18n.t('tasks.error_not_found')
end
end
end

View File

@ -72,5 +72,4 @@ de:
notice: 'Du hast die Aufgabe übernommen'
set_done:
notice: 'Aufgabenstatus wurde aktualisiert'
<< workgroup:
error_not_found: 'Keine Arbeitsgruppe gefunden'
error_not_found: 'Keine Arbeitsgruppe gefunden'