Commit ed25ddca authored by Ken Ip's avatar Ken Ip

Fix missing assigned_to renaming in 2e839cee

fixes #4360.
parent 48d37272
...@@ -9,7 +9,7 @@ class MergeRequestsLoadContext < BaseContext ...@@ -9,7 +9,7 @@ class MergeRequestsLoadContext < BaseContext
merge_requests = case type merge_requests = case type
when 'all' then merge_requests when 'all' then merge_requests
when 'closed' then merge_requests.closed when 'closed' then merge_requests.closed
when 'assigned-to-me' then merge_requests.opened.assigned(current_user) when 'assigned-to-me' then merge_requests.opened.assigned_to(current_user)
else merge_requests.opened else merge_requests.opened
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment