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

Add support for option of Breadcrumbs. #1358

Merged
merged 3 commits into from Jul 28, 2013

Conversation

Projects
None yet
2 participants
@namusyaka
Member

namusyaka commented Jul 21, 2013

We can't set freedom attributes to breadcrumbs now.
This pull request is way of solving it.

example)

breadcrumb.set_home("/custom", "Custom Home Page", :id => "home-id")
breadcrumb.add :foo, "/foo", "Foo Link", :id => "foo-id", :class => "foo-class"

breadcrumbs(breadcrumb, true, "custom-active", :id => "breadcrumbs-id", :class => "breadcrumbs-class")

Please, review my code.

ujifgc added a commit that referenced this pull request Jul 28, 2013

@ujifgc ujifgc merged commit ea2939c into padrino:master Jul 28, 2013

1 check passed

default The Travis CI build passed
Details
@ujifgc

This comment has been minimized.

Show comment
Hide comment
@ujifgc

ujifgc Jul 28, 2013

Member

Thanks.

Member

ujifgc commented Jul 28, 2013

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment