Create a Rails path helper link to a specific anchor tag section of a page

Public, Rails Errors

harrylevine

Created: Jun 13, 2020     Updated: Jun 13, 2020


admin_company_settings_path(anchor: 'autopilot-mode')

#=> /admin/company_settings#autopilot-mode

Links to that page, scrolled to the DOM element containing id="autopilot-mode"