-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add UPGRADE.md and updated upgrade docs
- Loading branch information
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Upgrading from v1 to v2 | ||
|
||
LmcAdmin v2 is a major version upgrade with many breaking changes that prevent | ||
straightforward upgrading. | ||
|
||
### Namespace change | ||
|
||
The namespace has been changed from LmcAdmin to Lmc\Admin. | ||
|
||
Please review your code to replace references to the `LmcAdmin` namespace | ||
by the `Lmc\Admin` namespace. | ||
|
||
### Default layout template name | ||
|
||
The default layout template has been changed from `layout/admin` to `layout/lmcadmin`. | ||
|
||
The `index` action of the `AdminController` now returns a View Model with its template set to | ||
`'lmc-admin/admin/index'`. To use your customer view template, you need to add a View Manager | ||
template map entry for `'lmc-admin/admin/index'` that points to your custom view. | ||
|
||
### Configuration key | ||
|
||
The configuration key for LmcAdmin was changed from `lmcadmin` to `lmc_admin`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters