Table of Content
Extracting view code to helpers
Helper is used to abstract view methods. It is designed for using in view.
So now, the photo url can be like this:
What’s next? We’re going to take a look at “Partial json views”.