I've a pdf document in my CAKEPHP webroot. I want to create a route to that pdf file with the name /mydoc
. I'm using CAKEPHP 1.3
When we type example.com/mydoc
it should open that pdf.
Any direct ways to write direct route
and it will be achieved without using controller
and action
.