Skip to content

Commit

Permalink
fix for missing "partial" in examples for template usage (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed May 17, 2019
1 parent 405b4d2 commit 9aa1bea
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Render the navigation links with a super-fast helper in some view:
Or - if you prefer - render the navigation links with a template:

```erb
<%== render 'pagy/nav', locals: {pagy: @pagy} %>
<%== render partial: 'pagy/nav', locals: {pagy: @pagy} %>
```

## Easy to customize
Expand Down
2 changes: 1 addition & 1 deletion docs/extras/bootstrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ with a fast helper:
or with a template:

```erb
<%== render 'pagy/bootstrap_nav', locals: {pagy: @pagy} %>
<%== render partial: 'pagy/bootstrap_nav', locals: {pagy: @pagy} %>
```

Configure [javascript](../extras.md#javascript) if you use `pagy_bootstrap_nav_js` or `pagy_bootstrap_combo_nav_js`.
Expand Down
2 changes: 1 addition & 1 deletion docs/extras/bulma.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ with a fast helper:
or with a template:

```erb
<%== render 'pagy/bulma_nav', locals: {pagy: @pagy} %>
<%== render partial: 'pagy/bulma_nav', locals: {pagy: @pagy} %>
```

Configure [javascript](../extras.md#javascript) if you use `pagy_bulma_nav_js` or `pagy_bulma_combo_nav_js`.
Expand Down
2 changes: 1 addition & 1 deletion docs/extras/foundation.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ with a fast helper:
or with a template:

```erb
<%== render 'pagy/foundation_nav', locals: {pagy: @pagy} %>
<%== render partial: 'pagy/foundation_nav', locals: {pagy: @pagy} %>
```

Configure [javascript](../extras.md#javascript) if you use `pagy_foundation_nav_js` or `pagy_foundation_combo_nav_js`.
Expand Down

0 comments on commit 9aa1bea

Please sign in to comment.