don't add a frontend link by default in the generator
This commit is contained in:
parent
ca6c5cbc0a
commit
dfdb306fe9
@ -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');
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user