Ruby on Rails Wednesday, June 15, 2016

I have an application with items such as articles, bulletins, events, weekly specials,… Each of these has its own MVC implmentation
and works well.

What I would like to do is have the home page display a dashboard that contains many of these items, for example the last few articles,
a weekly special, upcoming events, and any bulletins with urgent news for the users.

How do I go about getting all of these things to appear on the page and in side bars? Can I just render them from the layout (this doesn't seem to work
but I could be doing it wrong), or use content_for?

Please point me in the right direction.

Matt

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/46CAD6BC-BDA8-4462-A390-82617BE8C32E%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment