Invoke a CRUD controller that sits in a module

24 views
Skip to first unread message

Preslav Rachev

unread,
Sep 2, 2014, 6:24:25 AM9/2/14
to pla...@googlegroups.com

I have a Play 1.2.x app that uses the CRUD module. I am also working on a module for this app that also has to use the CRUD module So, I added a model and a CRUD controller in the modules, added the CRUD module as a dependency, and also added my custom module in the global routes file:

*       /                   module:mymodule
*      /admin              module:crud

yet, no matter what I do, I cannot see an entry for that CRUD controller, the way normally CRUd controllers work. I see all the CRUD functionality from the main the main, but nothing from the custom module.

I suspect it might be either a routing issue (something I need to add to the routes file of the module), or the CRUD plugin simply does not support this kind of functionality.

Could anyone help me here? Thanks

Israel Tsadok

unread,
Sep 2, 2014, 7:21:14 AM9/2/14
to pla...@googlegroups.com
Try reversing the order of the modules

*      /admin              module:crud
*      /                   module:mymodule
Reply all
Reply to author
Forward
0 new messages