I am having a resource controller Purchase_detailsContoller. My doubt is how can I create a new function in this controller other then default functions (create, index, edit, store, show, and destroy).
Here is my config route file ,
What should I do to add a new function in Purchase_detailsContoller. In route file what should I do?
Say for example if I need to add a function public open(). Then what should I do?