I have the following function
function about_about(){
$this->render();
}
However, I have another 100 pages, which will only have render()
, how can I make a function just to save code and time? Where I define the pages that will be displayed and give render()
, remembering that about_about
, in this example, is the name of the page that comes with url
, in this case, the method name.