Skip to content

Commit b6c9378

Browse files
snowcoreunicoder88
authored andcommitted
Minor fixes for Adminhtml section (#1)
1 parent 85469d9 commit b6c9378

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

6. Developing with Adminhtml/1. Describe common structure architecture.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@ In *frontend* URLs are generated with `\Magento\Framework\Url.getUrl`:
123123
- getUrl() -> createUrl() = getRouterUrl + ?query + #fragment
124124
- getRouterUrl() = getBaseUrl() + `_getRoutePath`
125125
- getBaseUrl() example 'http://www.example.com/'
126-
- `_getRoutePath` = `_getActionPath` + params pairs. sexample 'catalog/product/view/id/47'
127-
- `_getActionPath` example 'catalog/product/view'
126+
- `_getRoutePath` = `_getActionPath` + params pairs. For example: 'catalog/product/view/id/47'
127+
- `_getActionPath` example: 'catalog/product/view'
128128

129129
In *backend* use customized version `\Magento\Backend\Model\Url`:
130130
- `_getActionPath` *prepends* area front name, e.g. 'kontrollpanel/catalog/product/view'.
131131
Now all backend links have this prefix.
132132
- getUrl() adds secret key /key/hash
133-
- can disable secret key generation with turnOffSecretKey() and revert with turnOnnSecretKey().
133+
- can disable secret key generation with turnOffSecretKey() and revert with turnOnSecretKey().
134134
Global admin config `admin/security/use_form_key`.
135135

136136
*Secret key* = `hash($routeName . $controllerName . $actionName . $sessionFormKey)`

0 commit comments

Comments
 (0)