-
-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separator throwing an error #59
Comments
The error is in another gem.
|
You are correct, sorry should have looked at that closer |
No problem. :) On Tue, Jun 17, 2014 at 3:18 PM, jthurston notifications@github.com wrote:
Simone Carletti http://simonecarletti.com/ |
@jthurston, Have you been able to solve this? I'm having the same issue. Although seems not related to this gem, this issue report is the only I could found. |
Bread crumbs are working fine with the following:
<%= render_breadcrumbs%>
But adding the separator throws an error
<%= render_breadcrumbs :separator => ' / ' %>
Error:
NoMethodError in Customers#index
Showing /Users/thurstonjm/.rvm/gems/ruby-1.9.3-p392/gems/twitter-bootstrap-rails-2.2.8/app/views/twitter-bootstrap/_breadcrumbs.html.erb where line #3 raised:
undefined method `html_safe' for {:separator=>"/"}:Hash
Extracted source (around line #3):
1: <% if @breadcrumbs.present? %>
2:
3: <% separator = divider.html_safe %>
4: <% @breadcrumbs[0..-2].each do |crumb| %>
5:
6: <%= link_to crumb[:name], crumb[:url], crumb[:options] %>
The text was updated successfully, but these errors were encountered: