summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Wehner2011-02-15 08:16:53 (GMT)
committer Daniel Wehner2011-02-15 08:16:53 (GMT)
commit61224cc37c596a8922dd4163da9927937aa2beaf (patch)
treed004fb9abe13cdb9a541d9ec8159f2e15084e49c
parent441803b88e0c5ad426983af6b165cbc34f53a681 (diff)
Use the new admin path on some places
-rw-r--r--help/example-author-block.html2
-rw-r--r--theme/theme.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/help/example-author-block.html b/help/example-author-block.html
index e8c11e1..a8dd796 100644
--- a/help/example-author-block.html
+++ b/help/example-author-block.html
@@ -67,7 +67,7 @@
<p>There are still a few remaining things to do before our view is complete. For example, we said that the block was to show <em>recent</em> blog entries, but instead it's showing them in the order they were entered, with oldest on top. Additionally, even unpublished entries are showing in the list currently.</p>
<ol>
-<li>Return to the <a target="_blank" href="/admin/structure/views/edit/recent_blog_entries">recent_blog_entries view edit page</a>.</li>
+<li>Return to the <a target="_blank" href="/admin/structure/views/view/recent_blog_entries">recent_blog_entries view edit page</a>.</li>
<li>Add an additional filter by clicking the <strong>+</strong> icon in the <strong>Filters</strong> section in the fourth column.</li>
<li>Change <strong>Groups</strong> to <em>Node</em> and select <em>Node: Published</em>. Click <strong>Add</strong>.</li>
<li>Under the <strong>Published</strong> selection, choose <em>Yes</em> and click <strong>Update</strong>.</li>
diff --git a/theme/theme.inc b/theme/theme.inc
index 147b085..a1840e7 100644
--- a/theme/theme.inc
+++ b/theme/theme.inc
@@ -90,7 +90,7 @@ function template_preprocess_views_view(&$vars) {
'views-edit' => array(
'title' => t('Edit view'),
'attributes' => array('title' => t("Edit this view")),
- 'href' => "admin/structure/views/edit/$view->name",
+ 'href' => "admin/structure/views/view/$view->name",
'fragment' => 'views-tab-' . $view->current_display,
'query' => drupal_get_destination(),
),