Skip to content

Commit

Permalink
doc fix for missing :partial key in rendering example (closes #180)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Aug 21, 2019
1 parent 7160a18 commit fb8bcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/how-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ This page contains the practical tips and examples to get the job done with Pagy
- or with an easy customizable template:
```erb
<%== render 'pagy/nav', locals: {pagy: @pagy} %>
<%== render partial: 'pagy/nav', locals: {pagy: @pagy} %>
```
- Option B: if your app renders the views with a javascript framework (e.g. Vue.js, react.js, ...), you don't need the `include Pagy::Frontend` in `ApplicationHelper`, instead:
Expand Down

0 comments on commit fb8bcf4

Please sign in to comment.