Selasa, 24 April 2012

Routing error caused by nested routes in Rails 3 project

Here's my problem: I have a web app, in which USERS can create POSTS USER and POST are created simultaneously - I extract the USER's email from the post to create his user entry. (No password/login/registration etc required) In my ROUTES.RB file, I have POSTS nested with USERS (see attached) Now, here is my question: Where should the posts#new creation form be? Currently I have it at /posts

0 comments:

Posting Komentar