Forgot to return in that rescue

This commit is contained in:
Raphael 2010-08-23 17:09:20 -07:00
parent 21e2b323d0
commit ab4ad249df

View file

@ -47,6 +47,7 @@ class RequestsController < ApplicationController
raise e unless e.message.include? "already friends"
flash[:notice] = "You are already friends with #{params[:request][:destination_url]}!"
redirect_to current_user.group_by_id(params[:request][:group_id])
return
end
if @request