thank u!
must have overseen that

tom



On Tue, 2010-05-11 at 20:40 +0100, Colin Law wrote:
> On 11 May 2010 16:48, tom <[email protected]> wrote:
> > hi,
> >
> > i have a "notes" model which i include in various other views via
> > partial. how can i tell / what do i need to do in order to redirect the
> > user back to the view where he was instead to the index-view of the
> > notes?
> 
> Have a look at the docs for redirect_to and you will see that there is
> a :back option to go back to where you were.
> 
> Colin
> 

-- 
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