Skip to content

Commit

Permalink
feat: make loadAlfred() public
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Feb 25, 2023
1 parent d530e0c commit 42e10b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RockFrontend.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static function getModuleInfo()
{
return [
'title' => 'RockFrontend',
'version' => '2.24.1',
'version' => '2.25.0',
'summary' => 'Module for easy frontend development',
'autoload' => true,
'singular' => true,
Expand Down Expand Up @@ -1204,7 +1204,7 @@ public function livereload()
/**
* Load ALFRED assets?
*/
protected function loadAlfred(): bool
public function loadAlfred(): bool
{
if (!$this->hasAlfred) return false;
if ($this->wire->user->isSuperuser()) return true;
Expand Down

0 comments on commit 42e10b1

Please sign in to comment.