Changeset 39


Ignore:
Timestamp:
Oct 29, 2009, 4:06:49 PM (14 years ago)
Author:
duh
Message:
  • removed obsolete controllers and logic
  • update temporary debug message for index page
Location:
trunk/grails-app
Files:
2 deleted
3 edited

Legend:

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

    r37 r39  
    5656        def action = params.action;
    5757
    58         /* check if the user is Authorized to call this method
    59         if (this.authorizationService.isAuthorized(controller,action)) {
    60             // user is not authorized to use this functionality
    61             printf("authorized call to action: %s->%s(...)\n",this.class.name,action);
    62         } else {
    63             // user is not authorized to use this controller + method
    64             printf("!! unauthorized call to action: %s-->%s(...)\n",this.class.name,action);
    65 
    66             // redirect to error page
    67             flash['error'] = sprintf("unauthorized call to action: %s::%s\n",controller,action);
    68             redirect(controller:'error',action:'index');
    69         }
    70         */
     58        printf("calling %s->%s(...)\n",this.class.name,action);
    7159    }
    7260}
  • trunk/grails-app/controllers/StudyController.groovy

    r35 r39  
    11
    22
    3 class StudyController {
     3class StudyController extends BaseController {
    44   
    55    def index = { redirect(action:list,params:params) }
  • trunk/grails-app/views/index.gsp

    r38 r39  
    4242
    4343    <span style="border: 1px solid red;">
    44       Temporary login information: Administrator ( admin / admiN123! ) User ( user / useR123! )
     44      use these credentials to log in: Administrator ( admin / admiN123! ), User ( user / useR123! )
    4545    </span>
    4646  </body>
Note: See TracChangeset for help on using the changeset viewer.