mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Change the scaffolding layout to use yield rather than @content_for_layout.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
7bb20659c2
commit
abc2dba1ed
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
*1.1.2* (April 9th, 2005)
|
*1.1.2* (April 9th, 2005)
|
||||||
|
|
||||||
|
* Change the scaffolding layout to use yield rather than @content_for_layout. [Marcel Molina Jr.]
|
||||||
|
|
||||||
* Added rake rails:update:configs to update config/boot.rb from the latest (also included in rake rails:update) [DHH]
|
* Added rake rails:update:configs to update config/boot.rb from the latest (also included in rake rails:update) [DHH]
|
||||||
|
|
||||||
* Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an uncommented RAILS_GEM_VERSION line, and not use require_gem [DHH]
|
* Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an uncommented RAILS_GEM_VERSION line, and not use require_gem [DHH]
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
<p style="color: green"><%%= flash[:notice] %></p>
|
<p style="color: green"><%%= flash[:notice] %></p>
|
||||||
|
|
||||||
<%%= @content_for_layout %>
|
<%%= yield %>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue