Try @request.

// Magnus Holm


On Friday 6. April 2012 at 16:27, Nokan Emiro wrote:

> I'm sorry bothering you, it was there in env, env['HTTP_REFERER'].
> 
> (But it still would be useful sometimes to access the Rack's Request 
> object...)
> 
> 
> 
> On Fri, Apr 6, 2012 at 3:01 PM, Nokan Emiro <uzleep...@gmail.com 
> (mailto:uzleep...@gmail.com)> wrote:
> > Hi,
> > 
> > How can I access the Rack request object in a controller? I need
> > to know the HTTP_REFERRER, but I can't find it in env. (I'm
> > sure I need glasses, or have to sleep more...)
> 
> 
> _______________________________________________
> Camping-list mailing list
> Camping-list@rubyforge.org (mailto:Camping-list@rubyforge.org)
> http://rubyforge.org/mailman/listinfo/camping-list



_______________________________________________
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to