diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 67788d8..95190af 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -6,6 +6,7 @@ class UsersController < Devise::RegistrationsController def update if resource.update_with_password(params[resource_name]) sign_in(resource_name, resource, :bypass => true) + flash[:notice] = "Profile updated!" redirect_to(:controller => "info_window", :action => "index", :hydrant_id => params[:hydrant_id]) else clean_up_passwords(resource)