lingz / alphabetical_paginate

An Alphabetical Pagination gem for Ruby on Rails
MIT License
24 stars 25 forks source link

add all_as_link to params for using '?letter=All' optional #42

Closed nlevchuk closed 9 years ago

nlevchuk commented 9 years ago

Hello.

If include_all option is set to true, we'll have two urls /dictionary and /dictionary?letter=All. From point of SEO these urls are similar and it's not permissible. To avoid this problem need to use all_as_link option. if it's set to false, we'll have only one url is /dictionary.

nlevchuk commented 9 years ago

@lingz thanks