Skip to content

Commit

Permalink
updated namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
schmunk42 committed Dec 2, 2014
1 parent 98aa0e4 commit fa8ce6d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,7 @@ Customization

By default the extension uses black skin for AdminLTE. You can change this. Just replace class of body `skin-black` to `skin-blue`.
To fix all menu, add `fixed` class to `body` element.


> Namespacing rules follow the Yii 2.0 framework structure, eg. `dmstr\web` for the Asset Bundle.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"autoload": {
"psr-4": {
"dmstr\\web\\": ""
"dmstr\\": ""
}
}
}
2 changes: 1 addition & 1 deletion example-views/phundament/app/layouts/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
use yii\bootstrap\Nav;
use yii\helpers\Html;
use yii\widgets\Breadcrumbs;
use dmstr\web\Alert;
use dmstr\widgets\Alert;

/* @var $this \yii\web\View */
/* @var $content string */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
use yii\widgets\Breadcrumbs;
use dmstr\web\Alert;
use dmstr\widgets\Alert;
?>
<aside class="right-side">
<section class="content-header">
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion Alert.php → widgets/Alert.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @license http://www.yiiframework.com/license/
*/

namespace dmstr\web;
namespace dmstr\widgets;

use \yii\bootstrap\Alert as BootstrapAlert;
use \yii\bootstrap\Widget;
Expand Down

0 comments on commit fa8ce6d

Please sign in to comment.