Sha256: 6cc584c7a40eb5ef452b1e1957f6c1be61d3f5bc705830589a2ddf89cbc53554
Contents?: true
Size: 512 Bytes
Versions: 8
Compression:
Stored size: 512 Bytes
Contents
/ 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: "New", breadcrumbs: breadcrumbs) do = render "form", station: station, url: hd_unit_stations_path(station.hospital_unit_id)
Version data entries
8 entries across 8 versions & 1 rubygems