Skip to content
Snippets Groups Projects
Commit d99a8136 authored by Rajab Natshah's avatar Rajab Natshah Committed by Michael Mol
Browse files

Issue #3128583 by RajabNatshah, Aporie, andrimont, aiphes, a.milkovsky,...

Issue #3128583 by RajabNatshah, Aporie, andrimont, aiphes, a.milkovsky, mr.baileys, michaelmol, ebremner, Thomas Factory, kbeck303, Rar9: Fix Could not load data for internal links
parent a6135697
No related branches found
No related tags found
2 merge requests!14Draft: Automated Project Update Bot fixes,!1Change the label class to be sr-only
......@@ -41,7 +41,7 @@ function coffee_page_attachments(array &$attachments) {
$cache_tags = isset($attachments['#cache']['tags']) ? $attachments['#cache']['tags'] : [];
$attachments['#cache']['tags'] = Cache::mergeTags($cache_tags, $config->getCacheTags());
$data_path = Url::fromRoute('coffee.get_data')->toString();
$data_path = Url::fromRoute('coffee.get_data')->getInternalPath();
$attachments['#attached']['library'][] = 'coffee/drupal.coffee';
$attachments['#attached']['drupalSettings']['coffee'] = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment