put :update, :with => :id do
    @user = User.find(params[:id])
    if @user.update_attributes(params[:user])
      flash[:notice] = 'User was successfully updated.'
      redirect url(:users, :edit, :id => @user.id)