Changeset 1188

Show
Ignore:
Timestamp:
01/06/08 15:44:21 (11 months ago)
Author:
e.@brainspl.at
Message:

fix doc bug form url() closes #396 [merb@taylorw.com]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/merb/mixins/general_controller.rb

    r1173 r1188  
    5353    #  url(:custom_new_blogpost, :action => 'alternate')  # => /blogposts/new/alternate 
    5454    #    
    55     #  url(:comments, :blogpost => @post)         # => /blogposts/1/comments 
    56     #  url(:new_comment, :blogpost => @post)      # => /blogposts/1/comments/new 
     55    #  url(:comments, :blogpost_id => @post)         # => /blogposts/1/comments 
     56    #  url(:new_comment, :blogpost_id => @post)      # => /blogposts/1/comments/new 
    5757    #  url(:comment, @comment)                    # => /blogposts/1/comments/1 
    5858    #  url(:edit_comment, @comment)               # => /blogposts/1/comments/1/edit 
    59     #  url(:custom_new_comment, :blogpost => @post) 
     59    #  url(:custom_new_comment, :blogpost_id => @post) 
    6060    # 
    6161    #  url(:page => 2)                            # => /posts/show/1?page=2