From 1b409dd33af7aaaba671ebbeb64655ee99904e2f Mon Sep 17 00:00:00 2001
From: James Nettik <james.nettik@gmail.com>
Date: Wed, 5 Dec 2012 12:57:02 -0700
Subject: [PATCH] changed path to dialog page to be an admin path.

---
 token.module    |    2 +-
 token.pages.inc |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/token.module b/token.module
index 7bba8a7..cb6c051 100644
--- a/token.module
+++ b/token.module
@@ -73,7 +73,7 @@ function token_menu() {
     'file' => 'token.pages.inc',
   );*/
 
-  $items['token/tree'] = array(
+  $items['admin/token/tree'] = array(
     'page callback' => 'token_page_output_tree',
     'access callback' => TRUE,
     'type' => MENU_CALLBACK,
diff --git a/token.pages.inc b/token.pages.inc
index 905943c..96f8bc4 100644
--- a/token.pages.inc
+++ b/token.pages.inc
@@ -37,7 +37,7 @@ function theme_token_tree_link($variables) {
   // Set the token tree to open in a separate window.
   $variables['options']['attributes'] + array('target' => '_blank');
 
-  return l($variables['text'], 'token/tree', $variables['options']);
+  return l($variables['text'], 'admin/token/tree', $variables['options']);
 }
 
 /**
-- 
1.7.10.2 (Apple Git-33)

