Skip to content

Commit

Permalink
fix viewerjs path
Browse files Browse the repository at this point in the history
  • Loading branch information
lesha724 committed Jan 13, 2018
1 parent e219511 commit 8d9dd7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ViewerJsAssets.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class ViewerJsAssets extends AssetBundle
/**
* @var string the directory that contains the source asset files for this asset bundle.
*/
public $sourcePath = '@vendor/bower/viewerjs/ViewerJs';
public $sourcePath = '@vendor/bower/viewerjs/ViewerJS';
/**
* @var array list of JavaScript files that this bundle contains.
*/
Expand Down
2 changes: 1 addition & 1 deletion ViewerJsDocumentViewer.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function _getIframeUrl()
public function init()
{
ViewerJsAssets::register($this->view);
$this->_urlViewer = \Yii::$app->assetManager->getPublishedUrl('@vendor/bower/viewerjs/ViewerJs');
$this->_urlViewer = \Yii::$app->assetManager->getPublishedUrl('@vendor/bower/viewerjs/ViewerJS');
parent::init();
}

Expand Down

0 comments on commit 8d9dd7e

Please sign in to comment.