Skip to content

Commit

Permalink
Adding missing space to documentation of the layout method. Closes #7126
Browse files Browse the repository at this point in the history
 [orangechicken, jeremymcanally]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
Marcel Molina committed Dec 5, 2007
1 parent 5af4463 commit 57c9630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/layout.rb
Expand Up @@ -165,7 +165,7 @@ class << self
# variable. The preferred notation now is to use <tt>yield</tt>, as documented above.
module ClassMethods
# If a layout is specified, all rendered actions will have their result rendered
# when the layout<tt>yield</tt>'s. This layout can itself depend on instance variables assigned during action
# when the layout <tt>yield</tt>s. This layout can itself depend on instance variables assigned during action
# performance and have access to them as any normal template would.
def layout(template_name, conditions = {}, auto = false)
add_layout_conditions(conditions)
Expand Down

0 comments on commit 57c9630

Please sign in to comment.