mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Update translation keys
This commit is contained in:
parent
d9ca931c97
commit
acab58b71c
49 changed files with 240 additions and 240 deletions
|
@ -13,10 +13,10 @@ class Admin::InvoicesController < AdminController
|
|||
|
||||
def cancel
|
||||
if @invoice.cancel
|
||||
flash[:notice] = t('record_updated')
|
||||
flash[:notice] = t(:record_updated)
|
||||
redirect_to([:admin, @invoice])
|
||||
else
|
||||
flash.now[:alert] = t('failed_to_update_record')
|
||||
flash.now[:alert] = t(:failed_to_update_record)
|
||||
render :show
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue