Skip to content
Snippets Groups Projects
Commit c34288fa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Override Issue opened scope. Now reopened issues also included

parent 546d7d44
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment