don't add a frontend link by default in the generator

This commit is contained in:
Nabeel Shahzad 2017-12-01 17:31:37 -06:00
parent ca6c5cbc0a
commit dfdb306fe9
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ class SampleServiceProvider extends ServiceProvider
public function registerLinks()
{
// Show this link if logged in
$this->moduleSvc->addFrontendLink('Sample', '/sample', '', $logged_in=true);
// $this->moduleSvc->addFrontendLink('Sample', '/sample', '', $logged_in=true);
// Admin links:
$this->moduleSvc->addAdminLink('Sample', '/sample/admin');

View File

@ -44,7 +44,7 @@ class $CLASS$ extends ServiceProvider
public function registerLinks()
{
// Show this link if logged in
$this->moduleSvc->addFrontendLink('$STUDLY_NAME$', '/$LOWER_NAME$', '', $logged_in=true);
// $this->moduleSvc->addFrontendLink('$STUDLY_NAME$', '/$LOWER_NAME$', '', $logged_in=true);
// Admin links:
$this->moduleSvc->addAdminLink('$STUDLY_NAME$', '/$LOWER_NAME$/admin');