seyhunak / twitter-bootstrap-rails

Twitter Bootstrap for Rails 6.0, Rails 5 - Rails 4.x Asset Pipeline
https://github.com/seyhunak/twitter-bootstrap-rails
4.49k stars 997 forks source link

Add option to disable turbolinks on nav brand link #738

Closed ng closed 10 years ago

ng commented 10 years ago

Ultimately nav_bar should accept and parse arguments, but for now I've just tacked on another option to disable turbolinks on the brand link.

If no_turbolink is defined the correct data attribute is added to the brand link, if false or undefined the link is generated as usual.