Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #298 from sasata299/modify_template_format

Align kaminari views format
  • Loading branch information...
commit 07cd48d293bcbb42daa52a423cba91549343d393 2 parents d45a762 + ea95f9d
@amatsuda 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
'

0 comments on commit 07cd48d

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