i have @auth.requires_signature() in my controller function behing the view
when calling the ajax function

if i remove it

the error i get in javascript console is
http://192.168.1.167:8000/empre2/default/showemp/echo 500 (INTERNAL SERVER
ERROR)

Does it have to do with auth?

Thank you



2013/1/18 António Ramos <ramstei...@gmail.com>

> hello
>
> i made this simple test
>
> in javascript chrome console i typed
>
> ajax('echo', ['name'], 'target')
> to call my function
>
> and it returns
> GET http://192.168.1.167:8000/empre2/default/user/not_authorized 403
> (FORBIDDEN)
>
>
> thank you
> António
>

-- 



Reply via email to