Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do render different show pages for my blog posts.

Medves Larisa Viviana asked in Rails

I have 3 different categories : themes, snippets, projects.

Each blog post must related with those three categories.

If anyone click post(assume related category is snippets), it display in different show...etc... It is same for other categories.

How it is possible with conditional statements.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 85,376+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.