Permalink
Browse files

fix the /environments/:id/nodes controller (typo)

  • Loading branch information...
1 parent 6650804 commit bbcf13ddb8f5420c28ecf5baa68e15f4c724bb03 @sdelano sdelano committed with seth Aug 17, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 chef-server-api/app/controllers/environments.rb
@@ -97,7 +97,7 @@ def list_cookbooks
# GET /environments/:environment_id/nodes
def list_nodes
node_list = Chef::Node.cdb_list_by_environment(params[:environment_id])
- display(node_list.inject({}) {|r,n| r[n] = absolute_url(:node, n); r}
+ display(node_list.inject({}) {|r,n| r[n] = absolute_url(:node, n); r})
end
private

0 comments on commit bbcf13d

Please sign in to comment.