Class: SocialNetworking::ProfilePagesController

Inherits:
ApplicationController show all
Includes:
Concerns::ProfilePage
Defined in:
app/controllers/social_networking/profile_pages_controller.rb

Overview

Manage Participants.

Constant Summary

Constants inherited from ApplicationController

ApplicationController::CSRF_COOKIE_NAME, ApplicationController::CSRF_HEADER_NAME

Instance Method Summary collapse

Instance Method Details

#indexObject



13
14
# File 'app/controllers/social_networking/profile_pages_controller.rb', line 13

def index
end

#pageObject



21
22
23
# File 'app/controllers/social_networking/profile_pages_controller.rb', line 21

def page
  render json: { feedItems: feed.page_items }
end

#showObject



16
17
18
19
# File 'app/controllers/social_networking/profile_pages_controller.rb', line 16

def show
  store_nudge_initiators(@profile.participant_id)
  set_member_profiles
end