User profiles : same controller as the world?

Should i use the same controller as the world for allowing users to
edit,
update their profiles that I use to let the world view the profiles? i
have
associated models and i have 2 routes going to the same controller
action
I’m not sure what I should do How would most websites do this?
GET /users/:user_id/profile(.:format) profiles#show
GET /profiles/:id(.:format)
profiles#show

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs