In the application I'm building, I have a concept of a User.
In the app, users have profile pages.
These are pretty simple. They are basically just like /profile?id=3 or whatever, where 3 is the user id of the user whose profile I want to see.
Does it make sense to add a url_for_profile method to the User model, or should I make a view for user profile URLs or do something else entirely?
There are a bunch of different approaches that would all work, but I'm curious as to what is considered best practice here.
Thanks for the advice!