Merge pull request #4361 from kenips/master

Add missing assigned_to renaming to merge_requests_load_context
This commit is contained in:
Dmitriy Zaporozhets 2013-06-25 22:12:29 -07:00
commit f7199bb1fb

View file

@ -9,7 +9,7 @@ class MergeRequestsLoadContext < BaseContext
merge_requests = case type
when 'all' then merge_requests
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
end