updated organisational plans query to only include completed plans to match logic of plan export (#2004)
refactored plan.visibility_allowed? to call underlying method on phases

refactored plan.visibility_allowed? to call underlying method on phases

fixed tests
dev
1 parent abc24cf commit 054091714389fe17fb1649dccf8d066bac02f74d
@Brian Riley Brian Riley authored on 10 Dec 2018
Sam Rust committed on 10 Dec 2018
Showing 3 changed files
View
app/models/plan.rb
View
spec/models/plan_spec.rb
View
spec/support/helpers/template_helper.rb 0 → 100644