Skip to content

Commit

Permalink
fix(get): Return the partial include
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x authored Jun 18, 2020
1 parent 67e61f8 commit 5a22e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Composer.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function get($name = '', $path = 'Fields')
'.' => '/'
]);

include $this->app->path(
return include $this->app->path(
Str::finish(
Str::finish($path, '/'),
Str::finish($name, '.php')
Expand Down

0 comments on commit 5a22e9e

Please sign in to comment.