mirror of https://github.com/rails/rails
Apply comments from @rafaelfranca: we shouldn't recommend you use scaffold css
Closes #19492 and fixes #19453
This commit is contained in:
parent
055d9993b5
commit
da5fe3be1f
|
@ -402,15 +402,6 @@ Finally, the assets for this resource are generated in two files:
|
|||
`app/assets/stylesheets/blorgh/articles.css`. You'll see how to use these a little
|
||||
later.
|
||||
|
||||
By default, the scaffold styling is not applied to the engine because the
|
||||
engine's layout file, `app/views/layouts/blorgh/application.html.erb`, doesn't
|
||||
load it. To make the scaffold styling apply, insert this line into the `<head>`
|
||||
tag of this layout:
|
||||
|
||||
```erb
|
||||
<%= stylesheet_link_tag "scaffold" %>
|
||||
```
|
||||
|
||||
You can see what the engine has so far by running `rake db:migrate` at the root
|
||||
of our engine to run the migration generated by the scaffold generator, and then
|
||||
running `rails server` in `test/dummy`. When you open
|
||||
|
|
Loading…
Reference in New Issue