samvera-deprecated / orcid

[DEPRECATED] A Rails engine for orcid.org integration.
https://github.com/projejcthydra-labs/orcid
Other
14 stars 7 forks source link

Adding explicit pathing to partial rendering #21

Closed jeremyf closed 10 years ago

jeremyf commented 10 years ago

In a reference implementation, we were encountering an error in which the partials were not found. This is because the partial was referenced as a file (i.e. filename) and not via a path (i.e. path/to/filename). Rails has different lookup handling if given a filename vs. a path.

http://guides.rubyonrails.org/layouts_and_rendering.html#using-partials

danhorst commented 10 years ago

Closes ndlib/sufia_orcid/issues/5