Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
maiconpinto committed May 10, 2016
1 parent 4305d23 commit 1c01b09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ Certifique-se de carregar o plugin em **config/bootstrap.php**.

Plugin::load('AdminLTE');

### Para ativar o layout

Informe `$this->viewBuilder()->theme('AdminLTE');` no seu controller (por exemplo, AppController para usar em qualquer página).
### Ativar theme

```php
// src/Controller/AppController.php

public function beforeRender(Event $event)
{
$this->viewBuilder()->theme('AdminLTE');
Expand All @@ -23,7 +23,7 @@ public function beforeRender(Event $event)

### Form

```
```php
// src/View/AppView.php

public function initialize()
Expand Down

0 comments on commit 1c01b09

Please sign in to comment.