Partials Best Practices

This is an interesting guide to using _partials in a way that is logical. One suggestion he makes is that rather than putting partials in an ‘app/views/shared’ folder, they be put in the views folder for the appropriate controller. Otherwise, you end up with a big jumpled ‘/shared’ folder containing a ton of unrelated partials.

Leave a comment