Sent from my iPhone
On Apr 6, 2011, at 9:38 PM, Devin M [email protected] wrote:
session[:geolat] = params[:geolat]
action being called?
I only get this error if i change authenticate to have redirect_to
Hit send before I meant to. It looks like, from the error message, that
from your render action in location you are calling authenticate which
then tries to redirect before the render from location is complete. This
is a no no. It works when you switch it to render_to because that is a
acting like a nested render which is ok. You might want to rethink how
you want to do that authentication if you really need that redirect.