Skip to content

Commit 8c70590

Browse files
sdelanoSeth Falcon
authored andcommitted
display correct URI on environment create
1 parent 984bb87 commit 8c70590

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chef-server-api/app/controllers/environments.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def create
5555

5656
env.cdb_save
5757
self.status = 201
58-
display({:uri => absolute_url(:role, env.name)})
58+
display({:uri => absolute_url(:environment, env.name)})
5959
end
6060

6161
# PUT /environments/:id

0 commit comments

Comments
 (0)