Skip to content

Commit

Permalink
hotfix(upstreams) dont require a trailing slash for active targets (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
p0pr0ck5 authored and Tieske committed Mar 31, 2017
1 parent 476d6ab commit 14ea7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kong/api/routes/upstreams.lua
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ return {
end,
},

["/upstreams/:name_or_id/targets/active/"] = {
["/upstreams/:name_or_id/targets/active"] = {
before = function(self, dao_factory, helpers)
crud.find_upstream_by_name_or_id(self, dao_factory, helpers)
self.params.upstream_id = self.upstream.id
Expand Down

0 comments on commit 14ea7dc

Please sign in to comment.