How can I tell rails to use xhtml strict instead of transitional?
-
19-09-2019 - |
Question
So when you use scaffolding Rails will kick out some layouts that are xhtml transitional. I prefer strict.
Is there some setting somewhere to do this? Or shall I continue to edit the doctype in the layouts?
Solution
You're supposed to replace scaffolding with your own view code. That's why it's called scaffolding—it's just to get you started.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow