Skip to content
Browse files

Align kaminari views format

  • Loading branch information...
1 parent d45a762 commit ea95f9d022ce9dc329aac1527db8a5549dea5ad8 tsasaki committed Oct 19, 2012
View
2 app/views/kaminari/_last_page.html.erb
@@ -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>
View
2 app/views/kaminari/_last_page.html.haml
@@ -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
View
2 app/views/kaminari/_last_page.html.slim
@@ -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 ea95f9d

Please sign in to comment.
Something went wrong with that request. Please try again.