diff --git a/modules/Sample/Providers/SampleServiceProvider.php b/modules/Sample/Providers/SampleServiceProvider.php index 29041089..e0261e3d 100644 --- a/modules/Sample/Providers/SampleServiceProvider.php +++ b/modules/Sample/Providers/SampleServiceProvider.php @@ -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'); diff --git a/resources/modules/stubs/scaffold/provider.stub b/resources/modules/stubs/scaffold/provider.stub index f3470a7a..b4b24d01 100644 --- a/resources/modules/stubs/scaffold/provider.stub +++ b/resources/modules/stubs/scaffold/provider.stub @@ -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');