Skip to content

Commit

Permalink
Merge branch 'release/0.12.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
kalashnikovisme committed Jan 19, 2017
2 parents a6a3913 + dd3c3bc commit f4ccf47
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/activity_lines/lider/ya_lider/stage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def next_stage

def current_participants
participants.active.map do |participant|
participant unless participant.participations.where(stage_id: next_stage.id).any?
participant unless participant.participations.active.where(stage_id: next_stage.id).any?
end.compact.map &:decorate
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
require 'scopes_rails/state_machine/scopes'

module ActivityLines::Lider::YaLider::ParticipantScopes
extend ActiveSupport::Concern
include StateMachine::Scopes
end

0 comments on commit f4ccf47

Please sign in to comment.