app/controllers/phcscriptcdnpro/application_controller.rb in phcscriptcdnpro-11.1.1 vs app/controllers/phcscriptcdnpro/application_controller.rb in phcscriptcdnpro-11.2.0

- old
+ new

@@ -29,22 +29,17 @@ def new_login_url ENV['AUTHROCKET_LOGIN_URL'] end helper_method :new_login_url - def membership_info + def authrocket_membership_info AuthRocket::Membership.all(user_id: current_user.id).first end # Papertrail Whodunnit Username def user_for_paper_trail # Default is: current_user rescue nil current_user ? current_user.username : 'Public user' - end - - # Grab Member Information - def get_member_profile_info - @members_profile_info = Member::Profile.find(params[:profile_id]) end private # PHCPress Widget Helpers