CDRH / orchid

Rails Engine for site integration with CDRH API
MIT License
3 stars 0 forks source link

major metadata helper overhaul #157

Closed jduss4 closed 4 years ago

jduss4 commented 4 years ago

moved

  • out of metadata method and into views makes it easier to override if called somewhere besides a
      , etc but this does mean checking if field is present? before using added support for nested fields split into multiple methods instead of a big'n pulled metadata_label into its own method for easier overriding also preemptively built "length" into method arguments for future work now search item response AND item show pages use same method for building metadata