Skip to main content
Ask A Question
You’re not receiving notifications from this thread.

root pages#home or root index#post ?

Rails • Asked by Clyde

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

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 30,242+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.