/ We allow cross-module references in the UI but not in the controller hence: - unit = Renalware::Hospitals::Unit.find(unit_id) - breadcrumbs = [breadcrumb_for("Hospital Units", hospitals_units_path), breadcrumb_for(unit.unit_code, edit_hospitals_unit_path(unit)), breadcrumb_for("Stations", hd_unit_stations_path(unit))] = within_admin_layout(title: "Edit", breadcrumbs: breadcrumbs) do = render "form", station: station, url: hd_unit_station_path(station.hospital_unit_id, station)