app/controllers/phcmembers/member/profiles_controller.rb in phcmembers-14.0.1 vs app/controllers/phcmembers/member/profiles_controller.rb in phcmembers-15.0.0

- old
+ new

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