app/controllers/addresses_controller.rb in artfully_ose-1.0.0.rc4 vs app/controllers/addresses_controller.rb in artfully_ose-1.1.0.rc1

- old
+ new

@@ -2,19 +2,19 @@ before_filter :find_person def create address = @person.build_address(params[:address]) if address.save - flash[:notice] = "Successfully added an address for #{@person.first_name} #{@person.last_name}." + flash[:notice] = "Successfully added an address for #{@person}." else flash[:error] = "There was a problem creating this address." end redirect_to person_path(@person) end def update if @person.update_address(params[:address], current_user.current_organization.time_zone, current_user) - flash[:notice] = "Successfully updated the address for #{@person.first_name} #{@person.last_name}." + flash[:notice] = "Successfully updated the address for #{@person}." else flash[:error] = "There was a problem updating this address." end redirect_to person_path(@person) end