app/controllers/store/memberships_controller.rb in artfully_ose-1.2.0.pre.15 vs app/controllers/store/memberships_controller.rb in artfully_ose-1.2.0.pre.16
- old
+ new
@@ -1,10 +1,12 @@
class Store::MembershipsController < Store::StoreController
def show
@membership_types = [MembershipType.find(params[:id])]
+ @membership_kit = MembershipKit.where(:organization_id => store_organization.id).first
render :index
end
def index
@membership_types = store_organization.membership_types.storefront
+ @membership_kit = MembershipKit.where(:organization_id => store_organization.id).first
end
end
\ No newline at end of file