Skip to content

Commit

Permalink
Update config and view
Browse files Browse the repository at this point in the history
  • Loading branch information
jenky committed Apr 7, 2015
1 parent 6f862ef commit 0461e36
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/PluploadServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@ public function boot()
{
$configPath = __DIR__ . '/../config/plupload.php';
$viewsPath = __DIR__.'/../views';
$assetsPath = __DIR__.'/../assets';

$this->loadViewsFrom($viewsPath, 'plupload');

$this->publishes([$configPath => config_path('plupload.php')], 'config');
$this->publishes([
$viewsPath => base_path('resources/views/vendor/plupload'),
$assetsPath . '/js' => base_path('resources/assets/plupload'),
]);
}

Expand Down
2 changes: 1 addition & 1 deletion views/uploader.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
data-options="{{ json_encode($options) }}"
data-autostart="{{ intval($autoStart) }}"
data-uploadbtn="uploader-{{ $id }}-upload">
<div id="{{ $options['container'] }}" class="controls uploader col-sm-6">
<div id="{{ $options['container'] }}" class="controls uploader">
<div class="filelist"></div>
<div class="upload-actions">
{!! $buttons['pickFiles'] !!}
Expand Down

0 comments on commit 0461e36

Please sign in to comment.