Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.

Commit 5a64aea

Browse files
committed
Updated to 1.0.4 version
1 parent 7333350 commit 5a64aea

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

config/namespaces.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
use Eliasis\App\App;
1313

14-
$namespace = App::getNamespace()->get('namespaces', 'modules');
14+
$namespace = App::get('namespaces', 'modules');
1515

1616
$module = 'ForkMeGitHub';
1717

1818
return [
1919

20-
'namespace' => [
20+
'namespaces' => [
2121

2222
'controller' => $namespace . $module . '\\Controller\\',
2323
],

config/set-hooks.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
'hooks' => [
2121

22-
['css', [$namespace . $class, 'css'] , 8, 0],
23-
['after-body', [$namespace . $class, 'render'], 8, 0],
22+
['css', [$namespace . $class, 'css'] , 8, 0],
23+
['after-body', [$namespace . $class, 'render'] , 8, 0],
2424
],
2525
];

src/Controller/ForkMeGitHub/ForkMeGitHub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ public function render() {
4141

4242
$path = Module::ForkMeGitHub()->get('path', 'components');
4343

44-
$this->view->renderizate($path . 'strip');
44+
$this->view->renderizate($path, 'strip');
4545
}
4646
}

0 commit comments

Comments
 (0)