Skip to content

Commit

Permalink
fix for [#746]
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Nov 13, 2010
1 parent f4b7251 commit 9d56ffc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hobo/lib/hobo/rapid/taglibs/rapid_plus.dryml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ An [worked example](/tutorials/agility#improve_the_project_page_with_a_searchabl
<% col = sort_columns[scope.field_path] || scope.field_path
sort = sort_field == col && sort_direction == 'asc' ?
"-#{col}" : col
sort_url = url_for(params.merge(:sort => sort) - [:page])
sort_url = url_for_page_path(params.merge(:sort => sort) - [:page])
col_heading_name = this.member_class.try.human_attribute_name(scope.field_name, :default=> scope.field_name.titleize) %>

<th param="#{scope.field-name}-heading">
Expand All @@ -45,7 +45,7 @@ An [worked example](/tutorials/agility#improve_the_project_page_with_a_searchabl
</table>
<empty-collection-message param="empty-message"/>

<page-nav param if="&this.respond_to?(:page_count) || this.respond_to?(:total_pages)"/>
<page-nav param params="&recognize_page_path.slice(:controller,:action)" if="&this.respond_to?(:page_count) || this.respond_to?(:total_pages)"/>
</div>
</def>

Expand Down

0 comments on commit 9d56ffc

Please sign in to comment.