Skip to content

Commit

Permalink
Fixed typo in some extras usage (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
enzinia authored and ddnexus committed Jul 9, 2018
1 parent 2ce572a commit 9f09837
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/extras/i18n.md
Expand Up @@ -13,7 +13,7 @@ See [extras](../extras.md) for general usage info.

```ruby
# in the Pagy initializer
require 'pagy/extra/i18n'
require 'pagy/extras/i18n'
```

## Files
Expand Down
2 changes: 1 addition & 1 deletion docs/extras/items.md
Expand Up @@ -12,7 +12,7 @@ See [extras](../extras.md) for general usage info.
In the Pagy initializer:

```ruby
require 'pagy/extra/items'
require 'pagy/extras/items'

Pagy::VARS[:items_param] = :custom_param # default :items
Pagy::VARS[:max_items] = 100 # default
Expand Down
2 changes: 1 addition & 1 deletion docs/extras/responsive.md
Expand Up @@ -15,7 +15,7 @@ See [extras](../extras.md) for general usage info.

```ruby
# in the Pagy initializer
require 'pagy/extra/responsive'
require 'pagy/extras/responsive'

# set your default custom breakpoints (width/size pairs) globally (it can be overridden per Pagy instance)
Pagy::VARS[:breakpoints] = {0 => [1,2,2,1], 450 => [3,4,4,3], 750 => [4,5,5,4]}
Expand Down

0 comments on commit 9f09837

Please sign in to comment.