root pages#home or root index#post ?
Hello everyone :)
Thank you for these tutorials!
I am a beginner on Ruby on Rails and I have a small question.
I am currently creating an application allowing me to list my posts with an upvote system. Currently I create my home page with root pages#home.
But I have the impression that I may have to do my home page with root posts#index ..
Because when I look at some tutorials I feel that it's easier to put the infinite scroll, search filters with ajax, ranking by popular or newest, opening my posts in modal bootstrap, ... with *root posts#index * ...
So I hesitate to change everything ... opinions? :)
Thank you in advance !
EDIT: little mistake in the title ... it's posts#index and no index#post