We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa4c9e commit dba01d5Copy full SHA for dba01d5
src/app/Console/Commands/Fix.php
@@ -2,6 +2,7 @@
2
3
namespace Backpack\CRUD\app\Console\Commands;
4
5
+use Artisan;
6
use Illuminate\Console\Command;
7
8
class Fix extends Command
@@ -28,6 +29,15 @@ class Fix extends Command
28
29
public function handle()
30
{
31
$this->fixErrorViews();
32
+
33
+ if ($this->confirm('[SUGGESTION] Would you like to publish updated JS & CSS dependencies to public/packages?', false)) {
34
+ Artisan::call('vendor:publish', [
35
+ '--provider' => 'Backpack\CRUD\BackpackServiceProvider',
36
+ '--tag' => 'assets',
37
+ '--force' => 'true',
38
+ ]);
39
+ $this->info('Published latest CSS and JS assets to your public/packages directory.');
40
+ }
41
}
42
43
private function fixErrorViews()
0 commit comments