Permalink
Browse files

Merge pull request #298 from sasata299/modify_template_format

Align kaminari views format
  • Loading branch information...
2 parents d45a762 + ea95f9d commit 07cd48d293bcbb42daa52a423cba91549343d393 @amatsuda amatsuda committed Oct 19, 2012
@@ -7,5 +7,5 @@
remote: data-remote
-%>
<span class="last">
- <%= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, {:remote => remote} %>
+ <%= link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, :remote => remote %>
</span>
@@ -6,4 +6,4 @@
-# per_page: number of items to fetch per page
-# remote: data-remote
%span.last
- = link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, {:remote => remote}
+ = link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, :remote => remote
@@ -6,5 +6,5 @@
per_page : number of items to fetch per page
remote : data-remote
span.last
- == link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, {:remote => remote}
+ == link_to_unless current_page.last?, raw(t 'views.pagination.last'), url, :remote => remote
'

0 comments on commit 07cd48d

Please sign in to comment.