Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Align kaminari views format

  • Loading branch information...
commit ea95f9d022ce9dc329aac1527db8a5549dea5ad8 1 parent d45a762
tsasaki authored
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
'
Please sign in to comment.
Something went wrong with that request. Please try again.