Skip to content

Commit 805222d

Browse files
authored
Merge branch 'master' into kh_fix-top-nav
2 parents 7232daf + 682772c commit 805222d

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

src/guides/v2.3/rest/asynchronous-web-endpoints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Magento generates a `bulk_uuid` for each asynchronous request. Use the `bulk_uui
8282

8383
## Store scopes
8484

85-
You can specify a store code in the route of an asynchronous endpoint so that it operates on a specific store, as shown below:
85+
You can specify a store code (which is labeled in the Admin as store view code) in the route of an asynchronous endpoint so that it operates on a specific store, as shown below:
8686

8787
```http
8888
POST /<store_code>/async/V1/products

src/guides/v2.3/rest/bulk-endpoints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ DELETE <host>/rest/async/bulk/V1/cmsPage/byPageId
132132

133133
## Store scopes
134134

135-
You can specify a store code in the route of an asynchronous endpoint so that it operates on a specific store, as shown below:
135+
You can specify a store code (which is labeled in the Admin as store view code) in the route of an asynchronous endpoint so that it operates on a specific store, as shown below:
136136

137137
```http
138138
POST /<store_code>/async/bulk/V1/products

src/guides/v2.4/extension-dev-guide/routing.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ Name | Description
220220

221221
Declaring a new route:
222222

223+
**File:** `ExampleCorp/RoutingExample/etc/frontend/routes.xml`
224+
223225
```xml
224226
<?xml version="1.0"?>
225227

@@ -235,6 +237,8 @@ Declaring a new route:
235237

236238
Declaring the layout handler for our new route:
237239

240+
**File:** `ExampleCorp/RoutingExample/view/frontend/layout/routing_index_index.xml`
241+
238242
```xml
239243
<?xml version="1.0"?>
240244

@@ -252,6 +256,8 @@ Declaring the layout handler for our new route:
252256

253257
Defining a new custom router:
254258

259+
**File:** `ExampleCorp/RoutingExample/etc/frontend/di.xml`
260+
255261
```xml
256262
<type name="Magento\Framework\App\RouterList">
257263
<arguments>
@@ -268,6 +274,8 @@ Defining a new custom router:
268274

269275
Creating the controller that will handle the `routing` route and will get the parameters passed by our router.
270276

277+
**File:** `ExampleCorp/RoutingExample/Controller/Index/Index.php`
278+
271279
```php
272280
<?php
273281
declare(strict_types=1);
@@ -320,6 +328,8 @@ class Index implements HttpGetActionInterface
320328

321329
In the end, let's create the router class, that will match the custom route name `learning` with the existing `routing` route.
322330

331+
**File:** `ExampleCorp/RoutingExample/Controller/Router.php`
332+
323333
```php
324334
<?php
325335
declare(strict_types=1);

0 commit comments

Comments
 (0)