Mike Zornek on 8 Feb 2006 15:40:34 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] View Problem in Production


On 2/8/06 8:53 AM, "Jason Lenhart" <jplenhart@yahoo.com> wrote:

> Has anyone seen anything like this?

I have not -- but I think it's `redirect_to` not `redirect`

http://api.rubyonrails.com/classes/ActionController/Base.html#M000181

In my own code I found:

redirect_to(entry.permalink_url + '#postcomment' )

BTW, the redirect is the last line in your controller method right?

~ Mike
-- 
Work: http://ClickableBliss.com
Play: http://MikeZornek.com


_______________________________________________
talk mailing list
talk@phillyonrails.org
http://lists.phillyonrails.org/mailman/listinfo/talk