Skip to content

Commit

Permalink
README fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikalai Shershan committed Oct 30, 2015
1 parent c79822f commit fcfc24d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,19 @@ in config file:
```
seo controller example:
```sh
use shnm\SeoController;
<?php

namespace app\seoControllers;

use Yii;
use shershennm\seo\SeoController;

class SiteController extends SeoController
{
public function actionIndex()
{
$this->title = 'Hello world!';

return [
['name' => 'keywords', 'value' => $this->getKeywords()],
['name' => 'description', 'value' => 'Cool page!'],
Expand Down

0 comments on commit fcfc24d

Please sign in to comment.