This commit is contained in:
Andrey Janzen 2012-03-12 09:02:05 +07:00
parent 529282d9de
commit 34ea7fdb36

View file

@ -26,7 +26,7 @@ class MergeRequestsController < ApplicationController
@merge_requests = case params[:f].to_i
when 1 then @merge_requests
when 2 then @merge_requests.closed
when 2 then @merge_requests.opened.assigned(current_user)
when 3 then @merge_requests.opened.assigned(current_user)
else @merge_requests.opened
end