diff --git a/app/views/kaminari/_last_page.html.erb b/app/views/kaminari/_last_page.html.erb index 2a60cd2..320d638 100644 --- a/app/views/kaminari/_last_page.html.erb +++ b/app/views/kaminari/_last_page.html.erb @@ -7,5 +7,5 @@ remote: data-remote -%> - <%= 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 %> diff --git a/app/views/kaminari/_last_page.html.haml b/app/views/kaminari/_last_page.html.haml index 2e0a293..c7eefe1 100644 --- a/app/views/kaminari/_last_page.html.haml +++ b/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 diff --git a/app/views/kaminari/_last_page.html.slim b/app/views/kaminari/_last_page.html.slim index c8210a3..ba67258 100644 --- a/app/views/kaminari/_last_page.html.slim +++ b/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 '