Can I have both index and create actions in the index view?
Posted
by cravr
on Stack Overflow
See other posts from Stack Overflow
or by cravr
Published on 2010-04-27T13:00:57Z
Indexed on
2010/04/27
13:03 UTC
Read the original article
Hit count: 191
ruby-on-rails
Hi all,
Using the perennial example of a Blog webapp (and all resources are currently automatically mapped in routes.rb):
I have a simple index page that lists all my Post titles. I would like to add a form at the bottom of this page to quickly create new Posts.
I'm new to Rails and can't seem to figure this out! Please help!
© Stack Overflow or respective owner