Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

Undefined method in curation_concern_attribute_to_html #32

Open
flyingzumwalt opened this issue Nov 6, 2014 · 0 comments
Open

Undefined method in curation_concern_attribute_to_html #32

flyingzumwalt opened this issue Nov 6, 2014 · 0 comments

Comments

@flyingzumwalt
Copy link
Contributor

FYI, I think this line calls a method that doesn't exist.

https://github.com/curationexperts/worthwhile/blob/master/app/helpers/worthwhile/attribute_helper.rb#L16

It calls derived_label_for(), which is defined in Curate, but wasn't ported into Worthwhile.

This will raise an error undefined methodderived_label_for'`

curation_concern_attribute_to_html(curation_concern, :creator, nil, {})

This will work fine:

curation_concern_attribute_to_html(curation_concern, :creator, "Creator", {})
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant