Once deleting a Rate, the user should be redirected back to the user rate list. #1919

This commit is contained in:
Eric Davis
2009-01-20 11:27:40 -08:00
parent 3fccd98102
commit a294ff0154
2 changed files with 3 additions and 3 deletions

View File

@@ -108,7 +108,7 @@ class RatesController < ApplicationController
@rate.destroy
respond_to do |format|
format.html { redirect_to(rates_url) }
format.html { redirect_to(rates_url(:user_id => @rate.user_id)) }
format.xml { head :ok }
end
end