Skip to content
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

Allow name to be a proc or lambda method #13

Closed
wants to merge 1 commit into from
Closed

Allow name to be a proc or lambda method #13

wants to merge 1 commit into from

Conversation

tanordheim
Copy link
Contributor

Hello!

I took the crummy gem for a spin in a project here to handle my breadcrumbs, and needed some way to dynamically assign the name of a breadcrumb element.

I noticed in the todolist for the project that you wanted to implement some way of using varirables in names, so I made a simple change to the code to allow the name attribute for add_crumb to be a proc or lambda method that will be called in the before_filter together with the rest of the crummy-code.

@tanordheim
Copy link
Contributor Author

Hm, ignore this - this doesn't seem to be working as it should. I'll fix it and make another pull request.

@tanordheim tanordheim closed this Sep 12, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant