Skip to content

Commit c0521a9

Browse files
authored
Add published? (#868)
1 parent 9b9eb5f commit c0521a9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/models/organization.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ def organization_locality
9494
addresses.active.first&.locality
9595
end
9696

97+
def published? # needed for my_bookmarks
98+
!inactive
99+
end
100+
97101
def sector_list
98102
sectors.pluck(:name)
99103
end

0 commit comments

Comments
 (0)