app/controllers/memberships_controller.rb in artfully_ose-1.2.0.pre.17 vs app/controllers/memberships_controller.rb in artfully_ose-1.2.0.pre.18
- old
+ new
@@ -1,9 +1,10 @@
class MembershipsController < ArtfullyOseController
before_filter :load_tags, :only => [:index]
def index
@person = Person.find(params[:person_id])
+ @expired_count = @person.memberships.lapsed.count
@membership_types = current_organization.membership_types
end
def bulk_update
@person = Person.find(params[:person_id])
\ No newline at end of file