Ticket #7126: fixed_space_and_removed_apostrophe_in_layout_documentation.diff
| File fixed_space_and_removed_apostrophe_in_layout_documentation.diff, 0.9 kB (added by orangechicken, 2 years ago) |
|---|
-
actionpack/lib/action_controller/layout.rb
old new 165 165 # variable. The preferred notation now is to use <tt>yield</tt>, as documented above. 166 166 module ClassMethods 167 167 # If a layout is specified, all rendered actions will have their result rendered 168 # when the layout <tt>yield</tt>'s. This layout can itself depend on instance variables assigned during action168 # when the layout <tt>yield</tt>s. This layout can itself depend on instance variables assigned during action 169 169 # performance and have access to them as any normal template would. 170 170 def layout(template_name, conditions = {}) 171 171 add_layout_conditions(conditions)