views:

15

answers:

0

Hello, I have a model : todo which is nested to my organization and my project models.

I don't know how to handle this case when I create a new todo because in my todo controller and in my view my code is linked to organization or to project.

Is there a way to use the good one with a condition?

Thanks in advance!