Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Commands/ExporterMakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ protected function createRoute(): void

$this->components->info(sprintf(
'Please add following code into the <comment>%s</comment> file:',
plugin_path("{$this->argument('plugin')}/routes/data-synchronize.php")
plugin_path("{$this->argument('plugin')}/routes/web.php")
));

info($route);
Expand Down
2 changes: 1 addition & 1 deletion stubs/exporter.stub
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class {{ class }} extends Exporter
/**
* Set the label of the exporter to display in the admin panel and export file name.
*/
public function label(): string
public function getLabel(): string
{
return '{{ pluralName }}';
}
Expand Down