On Aug 2, 12:53 am, Neil Bye <[email protected]> wrote:
> I didn't really want the whole page refresh I was only using it  coz the
> rjs wasn't working. I want the .rjs coz I want comments to go straight
> up with no refresh.
>
> Are you saying I should make a line
>
>  page.redirect_to story_path(@story), :controller => 'stories'
>

If you want a redirect from rjs that is how you do it
(the  :controller bit isn't needed). That will do a full page refresh
do.

Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to