Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 9179

Show
Ignore:
Timestamp:
04/01/08 02:09:15 (3 months ago)
Author:
pratik
Message:

Remove unnecessary arguments. References #11491.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_view/partials.rb

    r9177 r9179  
    131131 
    132132        if partial_path.nil? 
    133           render_partial_collection_with_unknown_partial_path(collection, local_assigns, spacer
     133          render_partial_collection_with_unknown_partial_path(collection, local_assigns
    134134        else 
    135           render_partial_collection_with_known_partial_path(collection, partial_path, local_assigns, spacer
     135          render_partial_collection_with_known_partial_path(collection, partial_path, local_assigns
    136136        end.join(spacer) 
    137137      end 
    138138 
    139       def render_partial_collection_with_known_partial_path(collection, partial_path, local_assigns, spacer
     139      def render_partial_collection_with_known_partial_path(collection, partial_path, local_assigns
    140140        template = ActionView::PartialTemplate.new(self, partial_path, nil, local_assigns) 
    141141        collection.map do |element| 
     
    144144      end 
    145145 
    146       def render_partial_collection_with_unknown_partial_path(collection, local_assigns, spacer
     146      def render_partial_collection_with_unknown_partial_path(collection, local_assigns
    147147        templates = Hash.new 
    148148        i = 0