# Whitelist here modules and sub-modules which resources should be predefined # e.g. [nil, 'front', 'front/products'] if you have # Front::SomeController and Front::Products::AnotherController # with the associated namespaces in your routes # and want to predefine resources with no namespace # Joosy.defineResources <%= "<%= Joosy.resources [nil, '" + file_name + "'] %" + ">" %> # or predefine all resources Joosy.defineResources <%= "<%= Joosy.resources %" + ">" %>