app/controllers/phcmemberspro/member/profiles_controller.rb in phcmemberspro-21.3.0 vs app/controllers/phcmemberspro/member/profiles_controller.rb in phcmemberspro-22.0.0

- old
+ new

@@ -15,10 +15,10 @@ end # DETAILED PROFILE - Member Profile def show @member_profile = Member::Profile.find(params[:id]) - @versions = PaperTrail::Version.where(item_id: params[:id], item_type: 'Phcmemberspro::Member::Profile') + @member_profile_versions = Phcmemberspro::ProfileVersions.where(item_id: @member_profile, item_type: 'Phcmemberspro::Member::Profile') end # NEW FORM - Member Profile def new @member_profile = Member::Profile.new