weppos / breadcrumbs_on_rails

A simple Ruby on Rails plugin for creating and managing a breadcrumb navigation.
https://simonecarletti.com/code/breadcrumbs-on-rails
MIT License
944 stars 188 forks source link

Compatibility with Friendly ID #85

Closed wtholt closed 8 years ago

wtholt commented 8 years ago

I'm using this gem and Friendly ID in one of my projects.

def show
  @section = Section.friendly.find(params[:id])
  add_breadcrumb 'Introduction', section_path(@section)
end

This doesn't return an active link in the html, just plain text. Is there a workaround for this or am I just doing something wrong?

weppos commented 8 years ago

I'm sorry, but I can't provide specific support for other libraries. I suggest to open the question at http://stackoverflow.com/

wtholt commented 8 years ago

OK, I just forked your repo to see if I can come up with come capability. If I'm successful, I'll return with a PR.