On 12 October 2011 20:51, Mlle <[email protected]> wrote: > Hi > > I'm not sure if this is a Rails thing, browse thing, Apache thing or > what, but whenever I load a page using #! in my app the # is removed > from the url. > > For example, I put this into the browse: > > /browse/#!/color > > press enter, and the resulting url is > > /browse/!/color > > when the page loads. Anyone know why?
# is not allowed in the main part of a url, it signifies a bookmark/anchor. Try /browse/%23!/color though the %23 is from memory, google for url encoding if it is wrong. 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.

