Link to home
Start Free TrialLog in
Avatar of Bruce Gust
Bruce GustFlag for United States of America

asked on

Where would I look to find this route?

Here's what I've got on my Controller:

      /**
      * @Route("/games/user/profile/{id}", name="user_profile_page")
      */

      public function userProfileAction($id){
            $member = $this->get('member.gamification.member_api')->retrieve($id, true);
            $member['participation'] =  $this->get('member.gamification.participation_api')->getUserParticipationGrouped($member['usrID'], [], true);

            return $this->checkRedirect(true, 'member/widget/gamification/'.$this->name.'/Profile/profile.html.twig', 'registration_start', array(
              'profile' => $member
            ));
      }

I know more about Laravel than I do Symfony, so my default is to be looking for a route called, "user_profile_page."

I go to the config directory where all of my .yml files are stored and, using Ransack, I start looking for "user_profile_page...."

Nothing.

What am I missing?

The fact that what I have in bold appears to be nothing more than a comment makes me think that it's not systemic as much as it's just a "note."

Where would I look for "user_profile_page?"
ASKER CERTIFIED SOLUTION
Avatar of Chris Stanyon
Chris Stanyon
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial