User profiles : same controller as the world?

Should i use the same controller as the world for allowing users to
update their profiles that I use to let the world view the profiles? i
associated models and i have 2 routes going to the same controller
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)

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