Ignore:
Timestamp:
May 31, 2010, 9:39:19 PM (14 years ago)
Author:
gav
Message:

Svn move UnitOfMeasure to UnitOfMeasureDetailed.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/UnitOfMeasureDetailedController.groovy

    r556 r559  
    11import org.codehaus.groovy.grails.plugins.springsecurity.Secured
    22
    3 class UnitOfMeasureController extends BaseAppAdminController {
     3@Secured(['ROLE_AppAdmin', 'ROLE_Manager', 'ROLE_TaskManager'])
     4class UnitOfMeasureDetailedController extends BaseController {
    45   
    56    def index = { redirect(action:list,params:params) }
     
    1415
    1516    def show = {
     17
     18        // In the case of an actionSubmit button, rewrite action name from 'index'.
     19        if(params._action_Show)
     20            params.action='show'
     21
    1622        def unitOfMeasureInstance = UnitOfMeasure.get( params.id )
    1723
     
    4349
    4450    def edit = {
     51
     52        // In the case of an actionSubmit button, rewrite action name from 'index'.
     53        if(params._action_Edit)
     54            params.action='edit'
     55
    4556        def unitOfMeasureInstance = UnitOfMeasure.get( params.id )
    4657
Note: See TracChangeset for help on using the changeset viewer.