Skip to content

Commit 6bb21c6

Browse files
committed
Fix no 2
Lucas i also added to view as i saw that Yura did so. Hopefully thats it. I tested it on my local and it works.
1 parent a80ff56 commit 6bb21c6

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

assets/Assets.php

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
/**
4+
* @link https://www.humhub.org/
5+
* @copyright Copyright (c) 2015 HumHub GmbH & Co. KG
6+
* @license https://www.humhub.com/licences
7+
*/
8+
9+
namespace humhub\modules\mostactiveusers\assets;
10+
11+
use yii\web\AssetBundle;
12+
13+
class Assets extends AssetBundle
14+
{
15+
/**
16+
* @inheritdoc
17+
*/
18+
public $sourcePath = '@mostactiveusers/resources';
19+
20+
/**
21+
* @inheritdoc
22+
*/
23+
public $css = [
24+
'css/mostactiveusers.css',
25+
];
26+
}
File renamed without changes.

widgets/views/sidebar.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
use yii\helpers\Html;
44

5-
humhub\modules\mostactiveusers\Assets::register($this);
5+
humhub\modules\mostactiveusers\assets\Assets::register($this);
66
?>
77
<div class="panel panel-default" id="mostactiveusers-panel">
88

@@ -38,4 +38,3 @@
3838
?>
3939
</div>
4040
</div>
41-

0 commit comments

Comments
 (0)