File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -476,7 +476,7 @@ Take a quick look at the routes that have been created so far:
476
476
return $collection;
477
477
478
478
Can you spot the problem? Notice that both routes have patterns that match
479
- URL's that look like ``/blog/* ``. The Symfony router will always choose the
479
+ URLs that look like ``/blog/* ``. The Symfony router will always choose the
480
480
**first ** matching route it finds. In other words, the ``blog_show `` route
481
481
will *never * be matched. Instead, a URL like ``/blog/my-blog-post `` will match
482
482
the first route (``blog ``) and return a nonsense value of ``my-blog-post ``
Original file line number Diff line number Diff line change @@ -162,16 +162,16 @@ assets_base_urls
162
162
163
163
**default **: ``{ http: [], ssl: [] } ``
164
164
165
- This option allows you to define base URL's to be used for assets referenced
165
+ This option allows you to define base URLs to be used for assets referenced
166
166
from ``http `` and ``ssl `` (``https ``) pages. A string value may be provided in
167
- lieu of a single-element array. If multiple base URL's are provided, Symfony2
167
+ lieu of a single-element array. If multiple base URLs are provided, Symfony2
168
168
will select one from the collection each time it generates an asset's path.
169
169
170
170
For your convenience, ``assets_base_urls `` can be set directly with a string or
171
171
array of strings, which will be automatically organized into collections of base
172
- URL's for ``http `` and ``https `` requests. If a URL starts with ``https:// `` or
172
+ URLs for ``http `` and ``https `` requests. If a URL starts with ``https:// `` or
173
173
is `protocol-relative `_ (i.e. starts with `// `) it will be added to both
174
- collections. URL's starting with ``http:// `` will only be added to the
174
+ collections. URLs starting with ``http:// `` will only be added to the
175
175
``http `` collection.
176
176
177
177
.. _ref-framework-assets-version :
You can’t perform that action at this time.
0 commit comments