Check to ensure template has modular templates before showing add modular button

This commit is contained in:
Andy Miller
2015-09-08 11:13:52 -06:00
parent 704babb93c
commit 0113cdcf59
2 changed files with 13 additions and 0 deletions

View File

@@ -385,6 +385,17 @@ class Admin
return $routes;
}
/**
* Get All modular types
*
* @return array
*/
public function modularTypes()
{
return Pages::modularTypes();
}
/**
* Get all plugins.
*