Hola,

i will try to explain the situation:

i have two scaffolds: "devices" and"interfaces" , "interfaces"
belongs_to "devices" and "devices" has_many "interfaces". To this
point all is correct. In /devices i can see all the devices and a
nested table "interfaces" and i can do CRUD in both.

The problem is i can access /interfaces/new,etc directly. How can i
block that access without block access from nested table in /devices ?

Maybe is a ActiveScaffold bug because CRUD links in nested tables use
"/inrefaces/new" but it should use /devices/[id]/interfaces/new

Any idea how to solve this?

regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to