oooouuuccccchhhhh !!!!!!!!
it's there !!!!!!
I've read it twice before posting here .....
:-(
thanks again,
r.
The Response:
You can change these variables to your needs:
• @status is the HTTP status (defaults to 200)
• @headers is a hash with the headers
• @body is the body (a string or something which responds to each)
• Any changes in @cookies and @state will also be sent to the client
On 3oct, 2010, at 22:54 , Magnus Holm wrote:
> There's some info about the request/response here:
> http://camping.rubyforge.org/api.html#class-Camping-Controllers
>
> // Magnus Holm
>
>
> On Sun, Oct 3, 2010 at 22:47, Raimon Fernandez <[email protected]> wrote:
> Thanks John & Magnus,
>
>
> Where I can find more info about those little magic ????
>
> :-)
>
> Also, I was calling from the wrong place, in a helper it is not working, but
> works if I call from a Controller.
>
> thanks again,
>
> regards,
>
> r.
>
>
> On 3oct, 2010, at 18:22 , John Beppu wrote:
>
> > @status = 404
>
>
> On 3oct, 2010, at 18:21 , Magnus Holm wrote:
>
> > @status = 404
>
>
> _______________________________________________
> Camping-list mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/camping-list
>
> _______________________________________________
> Camping-list mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/camping-list
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list