Directory Structure :
Class ProductControl extends Controller{
readAction(){
}
}
So, it will be show the volt view in Directory Product
: read.volt
, but it still include index.volt
in root View.
How can i not include the views/index.volt
, but only include views/product/read.volt
?
$this->view->disableLevel(View::LEVEL_MAIN_LAYOUT);
in your action