Skip to content

Commit fe7682a

Browse files
committed
Fix service provider for L5.2 #14
1 parent c49f671 commit fe7682a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/LikeableServiceProvider.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,9 @@ class LikeableServiceProvider extends ServiceProvider
1414
public function boot()
1515
{
1616
$this->publishes([
17-
__DIR__.'/../migrations/2014_09_10_065447_create_likeable_tables.php' => $this->app->databasePath().'/migrations/2014_09_10_065447_create_likeable_tables.php',
18-
]);
17+
__DIR__.'/../migrations/' => database_path('migrations')
18+
], 'migrations');
1919
}
2020

2121
public function register() {}
22-
23-
public function when()
24-
{
25-
return array('artisan.start');
26-
}
2722
}

0 commit comments

Comments
 (0)