Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmeroff committed Mar 25, 2016
1 parent 942fe6a commit 9a574d7
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

## 1.0.0-alpha [Work in progress]
## 0.9.6 [Work in progress]

- `enh` Support for custom `admin` role via access control rule out of the box #510 (dmeroff)
- `fix` Removed ability to register a new account via social network when registration is disabled #512 (dmeroff)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013 Dektrium project
Copyright (c) 2013-2016 Dektrium project

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
3 changes: 2 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Yii2-user documentation is licensed under the [CC BY 4.0](http://creativecommons.org/licenses/by/4.0/).

© [Dektrium project](http://github.com/dektrium/) 2013 - 2015
© [Dektrium project](http://github.com/dektrium/) 2013 - 2016

## Getting Started

Expand All @@ -12,6 +12,7 @@ Yii2-user documentation is licensed under the [CC BY 4.0](http://creativecommons
- [Troubleshooting](troubleshooting.md)
- [Usage with Yii2 advanced template](usage-with-advanced-template.md)
- [Console commands](console.md)
- [F.A.Q.](faq.md)

## Overriding

Expand Down
19 changes: 19 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Frequently Asked Questions

## How to change controller's layout?

You can change controller's layout using `controllerMap` module's property:

```php
'modules' => [
'user' => [
'class' => 'dektrium\user\Module',
'controllerMap' => [
'admin' => [
'class' => 'dektrium\user\controllers\AdminController',
'layout' => '//admin-layout',
],
],
],
],
```

0 comments on commit 9a574d7

Please sign in to comment.