fix tasks error reference
This commit is contained in:
parent
692c70d324
commit
368d44e26b
2 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue