Skip to content

Commit

Permalink
Update ImageFitServiceProvider.php
Browse files Browse the repository at this point in the history
amir2b authored Jul 1, 2017
1 parent fa37385 commit 966b056
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ImageFitServiceProvider.php
Original file line number Diff line number Diff line change
@@ -18,6 +18,10 @@ public function boot()
__DIR__ . '/../files/config.php' => config_path('image-fit.php'),
], 'config');

$this->publishes([
__DIR__ . '/../assets' => public_path('vendor/image-fit'),
], 'public');

// HTTP routing
if ((double) $this->app->version() >= 5.2) {
$this->app['router']->get($this->app['config']->get('image-fit.prefix') . '{image}{type}{width}x{height}.{ext}', '\Amir2b\ImageFit\ImageController@create')

0 comments on commit 966b056

Please sign in to comment.