Label error notification as such.
This commit is contained in:
parent
8d17b3537c
commit
43fa70f90b
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ class AspectsController < ApplicationController
|
|||
if @aspect.valid?
|
||||
flash[:notice] = I18n.t('aspects.create.success')
|
||||
else
|
||||
flash[:notice] = I18n.t('aspects.create.failure')
|
||||
flash[:error] = I18n.t('aspects.create.failure')
|
||||
end
|
||||
respond_with :location => aspects_manage_path
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue