diff options
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/admin_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 1a94a77..d671384 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb | |||
| @@ -40,7 +40,7 @@ class AdminController < ApplicationController | |||
| 40 | format.js do | 40 | format.js do |
| 41 | render( :json => @results.map do |node| | 41 | render( :json => @results.map do |node| |
| 42 | if node | 42 | if node |
| 43 | {:id => node.id, :title => " #{node.title} (#{node.unique_name})", :edit_path => edit_node_path(node)} | 43 | { :id => node.id, :title => node.title, :unique_name => node.unique_name, :node_path => node_path(node) } |
| 44 | end | 44 | end |
| 45 | end | 45 | end |
| 46 | ) | 46 | ) |
