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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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'] = [