Meeting Logistics:
- Time: 9:00am PDT / Noon EDT
ZOOM connection: https://notredame.zoom.us/j/94030214208
(link will launch Zoom client – if you do not have Zoom, expand the instructions below)
Agenda
(meeting notes below)
- Hyrax routing questions (Lynette Rayle)
Moderator: Juliet Hardesty
Notetaker: James Griffin
Attendees:
- Lynette Rayle (Cornell)
- tamsin johnson (UC Santa Barbara)
- Kris Dekeyser (KU Leuven)
Meeting Process
Notes
- Hyrax Routing
- Notes: https://confluence.cornell.edu/x/HuQIG
- If you have an instance of the `Hyrax::AdministrativeSet`, `to_model_name` uses `singular_route_key`
- `admin_set_path` is generated from this
- `polymorphic_path` is called...uses this `singular_route_key` method
- `ContentEventJob` raises a
NoMethodError
- Hyrax::Monograph does work however
ContentEventJob
uses the Rails::Routes::Helper- ActiveModel#name somehow keeps the proper path from being generated
- What does `ActiveFedora::AdminSet` normally do?
- The ActiveModel#name is most likely not being overridden properly
include ActionView::Helpers
- This within
ContentEventJob
is likely related to problems also
- This within
- Larger problem: `link_to(some_admin_set)` is going to break
- Hyrax::ResourceName is specific to the Valkyrie::Resource Models
- This is necessary for generating the `ActiveModel#name` which is valid
- This might be explored also