fix i18n bug
This commit is contained in:
parent
fb6196b78b
commit
c38ce28347
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ class Admin::WorkgroupsController < Admin::BaseController
|
|||
def destroy
|
||||
@workgroup = Workgroup.find(params[:id])
|
||||
@workgroup.destroy
|
||||
redirect_to admin_workgroups_url, notice: t('admin.ordergroups.destroy.notice')
|
||||
redirect_to admin_workgroups_url, notice: t('admin.workgroups.destroy.notice')
|
||||
rescue => error
|
||||
redirect_to admin_workgroups_url, alert: t('admin.ordergroups.destroy.error')
|
||||
redirect_to admin_workgroups_url, alert: t('admin.workgroups.destroy.error')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue