1

I have a controller method that outputs some JSON which should be publicly accessible

index.php?option=com_mycomponent&task=mycontroller.json&format=json

If I set this as a System > URL menu type set to guest or public it still redirects to the login page

How can I call a controller method publicly? Do I need to register it as a route or something like that?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.