mirror of
https://github.com/github/rails.git
synced 2026-01-30 08:48:06 -05:00
Fix syntax error in documentation example for cycle method. Closes #8735 [foca]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Fix syntax error in documentation example for cycle method. Closes #8735 [foca]
|
||||
|
||||
* Document :with option for link_to_remote. Closes #8765 [ryanb]
|
||||
|
||||
* Document :minute_step option for time_select. Closes #8814 [brupm]
|
||||
|
||||
@@ -337,7 +337,7 @@ module ActionView
|
||||
# {:first => 'Emily', :middle => 'Shannon', :maiden => 'Pike', :last => 'Hicks'},
|
||||
# {:first => 'June', :middle => 'Dae', :last => 'Jones'}]
|
||||
# <% @items.each do |item| %>
|
||||
# <tr class="<%= cycle("even", "odd", :name => "row_class")
|
||||
# <tr class="<%= cycle("even", "odd", :name => "row_class") -%>">
|
||||
# <td>
|
||||
# <% item.values.each do |value| %>
|
||||
# <%# Create a named cycle "colors" %>
|
||||
|
||||
Reference in New Issue
Block a user