Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
Css styles not rendering in Rails
I am migrating a front-end project to the rails environment and have currently added two routes: /home and /home/new. The /home view has a link which directs it to /home/new. I have noticed, that when I go to the /home/new page manually, my styles are rendering correctly. However, if I use the link on the /home view to go to the /home/new view, my styles are not rendered properly. Can anyone help me with this?
Link to the Github repository: github.com/rimildeyjsr/sms-scheduler
Irving Amador7,488 Points
I think its a turbolinks problem, not sure why but it may not be loading your assets files properly. There should be a solution in the turbolinks webpage: https://github.com/turbolinks/turbolinks
Or you can disable turbolinks but i do not recomend that.
Hope it helps.