nickpad/will_paginate-bootstrap — pull request #13 by michaelqlarson (2013-08-07 00:58:00+00:00)
Title: hack to make bootstrap 3 compatable

Hi Nickpad,

Greetings from San Francisco.

Big fan of your will_paginate-bootstrap gem!

It wasn't compatible with Bootstrap 3 rc1, but I figured out how to make it so.

In Bootstrap 2:

```

Prev

1

2

3

4

5

Next

```

In Bootstrap 3:

```

«

1

2

3

4

5

»

```

It's a very subtle difference, and it's kind of annoying they decided to make such an irrelevant change. So my fix was to put the class declaration in the ul tag. I didn't dig deeply enough to remove the now-irrelevant class declaration from the div tag - it doesn't seem to matter, but it should be cleaned up somewhere.

Thanks and keep making time-saving tools like this!