Hi I got this error: bad component(expected host component): when trying to access a page that has this in the routes: match ''/browse/color/'' => redirect("/browse/#!/color") If I run webbrick, I have no problem with accessing the page "/browse/ color" but when I run pow, I get the error. Any idea what pow would have to do with that error ? Thanks -- 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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 14 October 2011 23:04, Mlle <emstolfo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi > > I got this error: > > bad component(expected host component): > > when trying to access a page that has this in the routes: > > > match ''/browse/color/'' => redirect("/browse/#!/color")My guess would be that it is something to do with the # in the url. I think you asked about this before, # is not valid in a url except as a bookmark/anchor delimiter. 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.