Commit f7199bb1 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #4361 from kenips/master

Add missing assigned_to renaming to merge_requests_load_context
parents a01db3d6 ed25ddca
...@@ -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