It should be in @env: 

  @env['HTTP_REFERER']

(Note that it's misspelled in the spec) 

// Magnus Holm


On Friday 6. April 2012 at 15:01, Nokan Emiro 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
> [email protected] (mailto:[email protected])
> http://rubyforge.org/mailman/listinfo/camping-list



_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to