Maybe the better idea is just to use some session variable instead of flash? (just for cases like this one)
On Oct 29, 12:33 pm, Christian Fazzini <christian.fazz...@gmail.com> wrote: > How can one do something similar to: > > redirect_to(:back, :notice => "Photo was successfully created. Click > <a href='#{url_for artist_photo_path(@photo.artist, @photo)}'>here</a> > to view it") > > The flash notice message is shown however, it shows: "Photo was > successfully created. Click <a href='/artists/1/photos/39'>here</a> to > view it". It displays the anchor element as a string instead of an > html element -- 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 rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.