Hi, I'm totally new to Phalcon and probably I am missing something in the docs, but I cannot understand how view work. I created 2 controllers:
IndexController with a IndexAction method
IssuesController with a IndexAction and ReadAction methods
I have problems loading views (which use the Volt templating engine). My views folder looks like this:
I was pretty sure that with this structure if I access http://mysite the IndexController\IndexAction should load /views/index.volt and accessing http://mysite/issues the IssuesController\indexAction should load the /views/issues/index.volt and then http://mysite/issues/read is "controlled by IssuesController\ViewAction and is supposed to render /views/issues/read.volt
What happens is that /views/index.volt is always rendered and I didn't find a way to make the correct template to be rendered. Any help?
Thank you in advance, SImone