patricktalmadge / bootstrapper

Laravel Twitter Bootstrap Bundle
561 stars 129 forks source link

Navbar::FIX_TOP not working? #256

Closed haoyuguo closed 9 years ago

haoyuguo commented 9 years ago

This is supposed to create a black bar on the top, but it gives error instead:

Navbar::inverse(array(), Navbar::FIX_TOP)

This works:

Navbar::inverse(array())

Would you please kindly help?

Thanks!


Edit: Just figured this out. It should be

Navbar::inverse()->top()

PatrickRose commented 9 years ago

I suppose we should make sure that inverse and create act similarly - I'll get on this tomorrow

PatrickRose commented 9 years ago

Fixed in 94185f