Take a look in app/helpers/application_helpers.rb

We made custom flash messages. We also defined notice and error, so if you knew about it already and this is how you made it I think you should use flash[:success] here instead