Changeset 374 for trunk/grails-app/conf


Ignore:
Timestamp:
Feb 18, 2010, 1:20:22 AM (15 years ago)
Author:
gav
Message:

Detail Manufacturer and Supplier views and controllers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/Config.groovy

    r367 r374  
    207207            [order:91, controller:'maintenancePolicyDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
    208208        ]
     209    ],
     210    [order:50, controller:'supplierDetailed', title:'supplier', action:'list',
     211        subItems: [
     212            [order:10, controller:'supplierDetailed', title:'Supplier List', action:'list', isVisible: { true }],
     213            [order:20, controller:'supplierDetailed', title:'Create', action:'create', isVisible: { true }],
     214            [order:90, controller:'supplierDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }],
     215            [order:91, controller:'supplierDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
     216        ]
     217    ],
     218    [order:60, controller:'manufacturerDetailed', title:'manufacturer', action:'list',
     219        subItems: [
     220            [order:10, controller:'manufacturerDetailed', title:'Manufacturer List', action:'list', isVisible: { true }],
     221            [order:20, controller:'manufacturerDetailed', title:'Create', action:'create', isVisible: { true }],
     222            [order:90, controller:'manufacturerDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }],
     223            [order:91, controller:'manufacturerDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
     224        ]
    209225    ]
    210226]
Note: See TracChangeset for help on using the changeset viewer.