commit 3efc1c250f902049ae4c42af945606e97199a5aa Author: Aaron Froehlich Date: Wed Jun 4 21:46:58 2014 -0500 1987424-151 fixed url path to route name diff --git a/core/themes/seven/seven.theme b/core/themes/seven/seven.theme index 492b0fa..aab8acc 100644 --- a/core/themes/seven/seven.theme +++ b/core/themes/seven/seven.theme @@ -120,7 +120,7 @@ function seven_preprocess_node_add_list(&$variables) { foreach ($variables['content'] as $type) { $variables['types'][$type->type]['label'] = String::checkPlain($type->name); $variables['types'][$type->type]['description'] = Xss::filterAdmin($type->description); - $variables['types'][$type->type]['url'] = url('node/add/' . $type->type); + $variables['types'][$type->type]['url'] = \Drupal::url('node.add', array('node_type' => $type->type)); } } else {