Commit c34288fa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Override Issue opened scope. Now reopened issues also included

parent fc9c73def19b
......@@ -54,4 +54,7 @@ def open_for(user)
state :closed
end
# Both open and reopened issues should be listed as opened
scope :opened, -> { with_state(:opened, :reopened) }
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