> I agree.  Is it possible, David, that you kind of regret having put
> it in there?  The way you talk about it sounds like that's the case.

The flip side of this,  is that if we remove it,  we break existing
applications because on the off chance that an infinite redirect may
occur.

Also,  there's actually nothing wrong with redirecting to your current
URL,  consider an action like:

def details
  if request.post?
    # do stuff
    redirect_to :action=>"details"
  else
    # something else
  end
end

not the prettiest thing, but certainly valid.

--
Cheers

Koz
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to