Skip to content

Commit

Permalink
Laravel Nova views hint path
Browse files Browse the repository at this point in the history
Will solve "No hint path defined for [nova]." error.
  • Loading branch information
angelocala94 authored Jun 3, 2019
1 parent 16728e1 commit cb0319c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ToolServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class ToolServiceProvider extends ServiceProvider
public function boot()
{
$this->loadViewsFrom(__DIR__ . '/../resources/views', 'google2fa');
$this->loadViewsFrom(__DIR__ . '/../../../laravel/nova/resources/views', 'nova');

// Publishing is only necessary when using the CLI.
if ($this->app->runningInConsole()) {
Expand Down

0 comments on commit cb0319c

Please sign in to comment.