Fix invoice description #2810

This commit is contained in:
Martin Lensment 2015-07-31 16:48:08 +03:00
parent 246645079d
commit e92ef92331
4 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@ class Admin::InvoicesController < AdminController
flash[:notice] = t(:record_created)
redirect_to [:admin, @invoice]
else
flash[:alert] = t(:failed_to_create_record)
flash.now[:alert] = t(:failed_to_create_record)
render 'new'
end
end