Skip to content

Commit 1697e64

Browse files
committed
Tweaking some small areas
1 parent 21b3de9 commit 1697e64

File tree

3 files changed

+22
-23
lines changed

3 files changed

+22
-23
lines changed

book/templating.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,15 +1098,15 @@ key in the parameter hash:
10981098

10991099
.. code-block:: html+jinja
11001100

1101-
<a href="{{ path('article_show', {'id':123, '_format':pdf}) }}">
1102-
PDF Version</a>
1103-
1104-
.. code-block:: php
1105-
1106-
<a href="<?php echo $view['router']->generate('article_show',
1107-
array('id' => 123, '_format' => 'pdf',) ?>">PDF Version</a>
1101+
<a href="{{ path('article_show', {'id': 123, '_format': 'pdf'}) }}">
1102+
PDF Version
1103+
</a>
11081104

1105+
.. code-block:: html+php
11091106

1107+
<a href="<?php echo $view['router']->generate('article_show', array('id' => 123, '_format' => 'pdf')) ?>">
1108+
PDF Version
1109+
</a>
11101110

11111111
Final Thoughts
11121112
--------------

contributing/code/patches.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ while to finish your changes):
106106
$ git checkout BRANCH_NAME
107107
$ git rebase master
108108
109-
When doing the ``rebase`` command, you might have to fix merge conflicts. ``git
110-
status`` gives you the *unmerged* files. Resolve all conflicts, then continue the
111-
rebase:
109+
When doing the ``rebase`` command, you might have to fix merge conflicts.
110+
``git status`` will show you the *unmerged* files. Resolve all the conflicts,
111+
then continue the rebase:
112112

113113
.. code-block:: bash
114114

glossary.rst

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80,22 +80,21 @@ Glossary
8080
:ref:`The Architecture: Using Vendors <using-vendors>`.
8181

8282
Acme
83-
*Acme* is a sample company name used in Symfony demos and
84-
documentation. For example, it's used as a namespace where you would
85-
normally use your own company's name. See
86-
`Acme Corporation at Wikipedia`_.
83+
*Acme* is a sample company name used in Symfony demos and documentation.
84+
Ut's used as a namespace where you would normally use your own company's
85+
name (e.g. ``Acme\BlogBundle``).
8786

8887
Action
89-
An *action* is controller code that executes for a given
90-
route. Synonomous with *controller*, but most *controller* PHP classes
91-
include several *actions*. See the
92-
:doc:`Controller Chapter </book/controller>`.
88+
An *action* is a PHP function or method that executes, for example,
89+
when a given route is matched. The term action is synonymous with
90+
*controller*, though a controller may also refer to an entire PHP
91+
class that includes several actions. See the :doc:`Controller Chapter </book/controller>`.
9392

9493
Asset
9594
An *asset* is any non-executable, static component of a web application,
96-
including CSS, js, images and video. Assets may be placed directly in
97-
the project's ``web`` directory, or published from a :term:`Bundle` to the web
98-
directory using the ``assets:install`` console task.
95+
including CSS, JavaScript, images and video. Assets may be placed
96+
directly in the project's ``web`` directory, or published from a :term:`Bundle`
97+
to the web directory using the ``assets:install`` console task.
9998

10099
Kernel
101100
The *Kernel* is the core of Symfony2. The Kernel object handles HTTP
@@ -105,7 +104,8 @@ Glossary
105104

106105
Firewall
107106
In Symfony2, a *Firewall* doesn't have to do with networking. Instead,
108-
it defines the authentication mechanisms, either for the whole
107+
it defines the authentication mechanisms (i.e. it handles the process
108+
of determining the identity of your users), either for the whole
109109
application or for just a part of it. See the
110110
:doc:`book/security/overview` chapters.
111111

@@ -121,4 +121,3 @@ Glossary
121121
.. _`service-oriented architecture`: http://wikipedia.org/wiki/Service-oriented_architecture
122122
.. _`HTTP Wikipedia`: http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
123123
.. _`HTTP 1.1 RFC`: http://www.w3.org/Protocols/rfc2616/rfc2616.html
124-
.. _`Acme Corporation at Wikipedia`: http://en.wikipedia.org/wiki/Acme_Corporation

0 commit comments

Comments
 (0)