1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #42618 from AkhilGKrishnan/guides-punctuation-issue-fix

Fix punctuation of layout and rendering doc
This commit is contained in:
Zachary Scott 2021-06-28 08:02:49 +09:00 committed by GitHub
commit 2dfd4fcd73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -889,9 +889,9 @@ To include `http://example.com/main.js`:
The [`stylesheet_link_tag`][] helper returns an HTML `<link>` tag for each source provided.
If you are using Rails with the "Asset Pipeline" enabled, this helper will generate a link to `/assets/stylesheets/`. This link is then processed by the Sprockets gem. A stylesheet file can be stored in one of three locations: `app/assets`, `lib/assets` or `vendor/assets`.
If you are using Rails with the "Asset Pipeline" enabled, this helper will generate a link to `/assets/stylesheets/`. This link is then processed by the Sprockets gem. A stylesheet file can be stored in one of three locations: `app/assets`, `lib/assets`, or `vendor/assets`.
You can specify a full path relative to the document root, or a URL. For example, to link to a stylesheet file that is inside a directory called `stylesheets` inside of one of `app/assets`, `lib/assets` or `vendor/assets`, you would do this:
You can specify a full path relative to the document root, or a URL. For example, to link to a stylesheet file that is inside a directory called `stylesheets` inside of one of `app/assets`, `lib/assets`, or `vendor/assets`, you would do this:
```erb
<%= stylesheet_link_tag "main" %>