summaryrefslogtreecommitdiff
path: root/chef-server-webui/app/views/nodes/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'chef-server-webui/app/views/nodes/index.html.haml')
-rw-r--r--chef-server-webui/app/views/nodes/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-server-webui/app/views/nodes/index.html.haml b/chef-server-webui/app/views/nodes/index.html.haml
index e950d38233..9c8369950d 100644
--- a/chef-server-webui/app/views/nodes/index.html.haml
+++ b/chef-server-webui/app/views/nodes/index.html.haml
@@ -16,7 +16,7 @@
- if session[:environment]
%td{:colspan => 4}= "The environment #{session[:environment]} has no nodes"
- else
- %td{:colspan => 4}= "You have no nodes - try connecting one, or creating or editing a #{link_to('node', url(:nodes))}"
+ %td{:colspan => 4}= "You have no nodes - try connecting one, or creating or editing a #{link_to('node', nodes_path)}".html_safe
- else
- @node_list.sort_by {|value| value.downcase}.each do |node|
%tr{:class => even ? "even": "odd" }