Skip to content

Commit

Permalink
fix: too much refactoring :D
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Jan 7, 2024
1 parent 0943039 commit e816cea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RockMigrations.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -3310,7 +3310,8 @@ public function pageClassLoader(Module $module, $folder = "classes"): void

// make PW autoload all files in given path
$namespace = $module->className();
$this->wire->classLoader->addNamespace($namespace, $module->pageClassPath);
$module->pageClassPath = $path;
$this->wire->classLoader->addNamespace($namespace, $path);

// create templates for all files
$files = $this->pageClassFiles($module);
Expand Down

0 comments on commit e816cea

Please sign in to comment.