Skip to content

Commit

Permalink
Fix cookies sections/structure.
Browse files Browse the repository at this point in the history
Reading cookies is incorrectly nested outside of the "Request" section.
Furthermore this prepends an action to the section for better
searchability.
  • Loading branch information
ndm2 committed Mar 14, 2022
1 parent bde296c commit 485f24f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions en/controllers/request-response.rst
Original file line number Diff line number Diff line change
Expand Up @@ -581,8 +581,8 @@ Check whether a specific language is accepted::

.. _request-cookies:

Cookies
-------
Reading Cookies
---------------

Request cookies can be read through a number of methods::

Expand Down Expand Up @@ -1039,7 +1039,7 @@ the response content, and sends the `304 Not Modified` header::
.. _response-cookies:

Setting Cookies
===============
---------------

Cookies can be added to response using either an array or a :php:class:`Cake\\Http\\Cookie\\Cookie`
object::
Expand Down
6 changes: 3 additions & 3 deletions fr/controllers/request-response.rst
Original file line number Diff line number Diff line change
Expand Up @@ -599,8 +599,8 @@ Vérifier si une langue spécifique est acceptée::

.. _request-cookies:

Cookies
-------
Lire des Cookies
----------------

Les cookies de la requête peuvent être lus à travers plusieurs méthodes::

Expand Down Expand Up @@ -1079,7 +1079,7 @@ il supprime le contenu de la réponse et envoie l'en-tête `304 Not Modified`::
.. _response-cookies:

Définir des Cookies
===================
-------------------

Des cookies peuvent être ajoutés aux réponses en utilisant soit un tableau, soit
un objet :php:class:`Cake\\Http\\Cookie\\Cookie`::
Expand Down
6 changes: 3 additions & 3 deletions ja/controllers/request-response.rst
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,8 @@ Accept ヘッダーの確認

.. _request-cookies:

クッキー
---------
クッキーの読込み
----------------

リクエストのクッキーはいくつかのメソッドを介して読むことができます。 ::

Expand Down Expand Up @@ -1004,7 +1004,7 @@ Not-Modified レスポンスの送信
.. _response-cookies:

クッキーの設定
===============
---------------

クッキーは、配列または :php:class:`Cake\\Http\\Cookie\\Cookie` オブジェクトを使って
レスポンスに追加することができます。 ::
Expand Down
6 changes: 3 additions & 3 deletions pt/controllers/request-response.rst
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,8 @@ Verifique se um idioma específico é aceito::

.. _request-cookies:

Cookies
-------
Lendo Cookies
-------------

Os cookies de solicitação podem ser lidos através de vários métodos::

Expand Down Expand Up @@ -874,7 +874,7 @@ o conteúdo da resposta e envia o cabeçalho `304 Not Modified`::
.. _response-cookies:

Configurando Cookies
====================
--------------------

Os cookies podem ser adicionados à resposta usando um array ou um objeto :php:class:`Cake\\Http\\Cookie\\Cookie`::

Expand Down

0 comments on commit 485f24f

Please sign in to comment.