aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/engines.md
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-04-12 18:11:14 -0700
committerZachary Scott <e@zzak.io>2015-04-12 18:11:14 -0700
commitda5fe3be1f31ec6ae695df0265506e2b2f954663 (patch)
treebd64324af4488ffe15fe614c42f5cbb2488472f9 /guides/source/engines.md
parent055d9993b5a47ba126e3e6f7a533006bff9e715a (diff)
downloadrails-da5fe3be1f31ec6ae695df0265506e2b2f954663.tar.gz
rails-da5fe3be1f31ec6ae695df0265506e2b2f954663.tar.bz2
rails-da5fe3be1f31ec6ae695df0265506e2b2f954663.zip
Apply comments from @rafaelfranca: we shouldn't recommend you use scaffold css
Closes #19492 and fixes #19453
Diffstat (limited to 'guides/source/engines.md')
-rw-r--r--guides/source/engines.md9
1 files changed, 0 insertions, 9 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md
index 84017d5e13..74b255f2cc 100644
--- a/guides/source/engines.md
+++ b/guides/source/engines.md
@@ -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