Commit c34288fa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Override Issue opened scope. Now reopened issues also included

parent 546d7d44
No related merge requests found
......@@ -54,4 +54,7 @@ class Issue < ActiveRecord::Base
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