or is that a param i can pass into <%= user_activate_url :id => @user, :key => @key %>
On Jan 6, 2:50 pm, hobo_hippy <[email protected]> wrote: > cool... is that a ruby helper? Or do i have to create a new hobo > helper? > > In short, where does the URL helper live? > > On Jan 6, 2:44 pm, Matt Jones <[email protected]> wrote: > > > > > > > > > On Jan 6, 2012, at 2:40 PM, hobo_hippy wrote: > > > > I've got what I hope is a simple problem... my site is https:// and > > > http:// but the http just redirects to https:// > > > > The problem is the url that is autogenerated by <%= > > > user_activate_url :id => @user, :key => @key %> is a http:// which > > > doesn't work cuase the site is at a https:// > > > > what's the best way to fix this? i thought about just hacking it so i > > > rip the http out of the string and append a https, but that's sloppy!! > > > there's gotta be a way to tell the app it should be https... > > > > anyone know how to fix this? > > > pass :protocol => 'https' to the URL helper. > > > --Matt Jones -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
