How to develop a public app


#1

hello friends , i had create an app by ocdev , named -> abcd
now i want to show something from abcd , without login ( or on login page) ,
in tutorial , we have something in xml named "public"tag , that we can use it to access on app without login,
i used it , but again i dont have access on " oc/index.php/public/abcd"
what is solution ?
thanks a lot


#2

You can try using the @Public annotation like here: https://github.com/owncloud/core/blob/master/apps/files_sharing/lib/Controllers/ShareController.php#L128

I'm not sure where exactly the route is defined but found this: https://github.com/owncloud/core/blob/master/core/routes.php#L92