Skip to content

Commit

Permalink
Merge pull request #56 from ekampp/patch-1
Browse files Browse the repository at this point in the history
HTML safe slim output
  • Loading branch information
yuki24 committed Nov 30, 2016
2 parents c221ef3 + f561267 commit a63191e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions materialize/app/views/kaminari/_paginator.html.slim
@@ -1,9 +1,9 @@
= paginator.render do
ul.pagination
= prev_page_tag
== prev_page_tag
- each_page do |page|
- if page.left_outer? || page.right_outer? || page.inside_window?
= page_tag page
== page_tag page
- elsif !page.was_truncated?
= gap_tag
= next_page_tag
== gap_tag
== next_page_tag

0 comments on commit a63191e

Please sign in to comment.