Skip to content

Commit a0a3281

Browse files
authored
Update Resource.php
Updated the parameter name
1 parent bd61c3a commit a0a3281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/Resource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ public static function jsonFileContent($filename)
546546
$fileFullname = Config::getResourceFilePath($filename);
547547

548548
if (!File::exists($fileFullname)) {
549-
throw new Exception('The resource file ' . $fileFullname . ' was not found! Perhaps, you need to run PHP artisan resource-file:create [name] or resource-file:from-database [tablename] ');
549+
throw new Exception('The resource file ' . $fileFullname . ' was not found! Perhaps, you need to run PHP artisan resource-file:create [model-name] or resource-file:from-database [model-name] ');
550550
}
551551

552552
return File::get($fileFullname);

0 commit comments

Comments
 (0)