문제

I am developing a rails application that will eventually contain products, users, and orders. For now I am just trying to get their 'brochure site' up. Rather than build it twice I thought to simply start with the rails application making it easily to rapidly move on as they need. That said...I am looking for advice on the best way to build out the simple pages like, Home, About Us, etc.

I know that I can accomplish this by simply adding those pages in the public directory but know there is a better way to accomplish this. I have tried using this Tutorial to create a pages controller but simply generating a controller with the corresponding views doesn't seem to work as it does in the tutorial (perhaps it is an older tut).

What are the best practices here?

도움이 되었습니까?

해결책

Have you tried this guide?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top