Skip to content

Commit

Permalink
fix #2 and bug on unseeder
Browse files Browse the repository at this point in the history
  • Loading branch information
akazorg committed Feb 6, 2018
1 parent cb4d4a7 commit 0a2fd5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/database/seeds/BreadTemplatesTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public function seedBREAD()
'display_name_singular' => 'Template',
'display_name_plural' => 'Templates',
'icon' => 'voyager-news',
'model_name' => 'BreadTemplates\\Models\\Template',
'model_name' => 'Launcher\\BreadTemplates\\Models\\Template',
'controller' => '',
'generate_permissions' => 1,
'description' => '',
Expand Down
5 changes: 5 additions & 0 deletions src/database/unseeds/DatabaseUnseeder.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
<?php

use Illuminate\Database\Seeder;
use TCG\Voyager\Traits\Seedable;

class DatabaseUnseeder extends Seeder
{
use Seedable;

protected $seedersPath = __DIR__.'/';

/**
* Run the database seeds.
*
Expand Down

0 comments on commit 0a2fd5d

Please sign in to comment.