Comments (8)
Try to use like this way:
<%= render_breadcrumbs(" ", { class: '', item_class: '', divider_class: '', active_class: 'active' }) %>
from breadcrumbs_on_rails.
thx @manelpb solve the problem. but I think is no a clean solution
from breadcrumbs_on_rails.
Having the same issue, @manelpb your solution didn't work out for me now I'm getting wrong number of arguments (2 for 0..1)
Getting this with breadcrumbs_on_rails (2.3.1)
and 'rails', '4.2.4'
from breadcrumbs_on_rails.
I had a same problem wrong number of arguments (2 for 0..1)
, when I update rails
to 4.2.4
from breadcrumbs_on_rails.
same problem here :S anything ?
from breadcrumbs_on_rails.
using your solution @manelpb it removes the 'html_safe' error but the default '/' for separator still remains. Any solution
from breadcrumbs_on_rails.
@cesswairimu Aparently this bug isn't due to breadcrumbs_on_rails.
All people having this bug check if you are using the gem 'twitter-bootstrap-rails' as well. That gem has a method with the same name 'render_breadcrumbs'. However it doesn't expect a hash as parameter.
You either have to deinstall the gem 'twitter-bootstrap-rails' or it will collide with this gem.
I suggest this bug is closed.
from breadcrumbs_on_rails.
Hey @loyaruarutoitsu, yeah it can be closed. I somehow fixed my prob (Can't recall how though 🙈 ) but yeah I see what you mean. Thanks
from breadcrumbs_on_rails.
Related Issues (20)
- :title in options do not work HOT 1
- Dynamic switching languages only changes last element HOT 4
- Breadcrumbs don't work if controller action is private HOT 2
- after last
- how to remove breadcrumb on special controller/action HOT 1
- Can you add css class to this? HOT 2
- Need config for seperator when default HOT 1
- Unable to use CSS options for final elements in default builder HOT 2
- Is there a way to pass args to target_path? HOT 1
- Hide the breadcrumbs if none present HOT 1
- Separator not displayed HOT 2
- add_breadcrumb is showing the text of the breadcrumb but they are not links HOT 1
- Use schema.org microdata with breadcrumbs_on_rails HOT 4
- Why is this gem explicitly mixed in? HOT 2
- Unclear Set Up Instructions HOT 1
- Replace dependency on `rails` with `railties` HOT 1
- Ability to fully support Bootstrap's markup? HOT 4
- Breadcrumbs outside controllers (like storybook previews) HOT 1
- Missing required keys: [:id] HOT 1
- Breadcrumbs on Rails with Tailwind HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from breadcrumbs_on_rails.