I got a big clue by just looking at the console log.

Given that I am logged in as bob22
And I go to http://localhost:3000/abc123xyz
Then I get redirected to http://localhost:3000/bob22
Because of ruby-code in UsersController#show

I'll drop a debugger in the .show() method and see what I can learn.

--Audrey


On Nov 20, 1:21 pm, Audrey A Lee <[email protected]> wrote:
> Hello,
>
> I'm curious about how routing works in CE.
>
> I see 2 ways to answer the question.
>
> First, I could make interesting changes to vendor/plugins/
> community_engine/config/desert_routes.rb
> and study the results.
>
> Second, I could just ask questions in this group.
>
> I guess I'll do both.
>
> Here is my 1st question.
>
> Given that I am logged in as bob22
> And I go tohttp://localhost:3000/abc123xyz
> Then I get redirected tohttp://localhost:3000/bob22
>
> Where do I find the ruby-code which causes the behavior?
>
> --Audrey

--

You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=.


Reply via email to