From 43fa70f90b9fcf7639756e35eea122b73e24ea27 Mon Sep 17 00:00:00 2001 From: Stephen Caudill Date: Sun, 26 Sep 2010 16:10:13 -0400 Subject: [PATCH] Label error notification as such. --- app/controllers/aspects_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/aspects_controller.rb b/app/controllers/aspects_controller.rb index 80e4c7d0df6..2bfdee23814 100644 --- a/app/controllers/aspects_controller.rb +++ b/app/controllers/aspects_controller.rb @@ -18,7 +18,7 @@ def create 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