Ignore:
Timestamp:
Oct 21, 2009, 1:04:41 PM (10 years ago)
Author:
duh
Message:

-added initial implementation of authorization code

File:
1 edited

Legend:

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

    r14 r15  
    1515     */
    1616    public def TestController() {
    17         // debug line for now
    18         printf("instantiated %s\n",this.class.name);
     17        // nothing yet
     18    }
     19
     20    /**
     21     * render dummy text when executed
     22     * @void
     23     */
     24    def index = {
     25        render(sprintf("this is %s",this.class.name));
     26    }
     27
     28    /**
     29     * dummy method
     30     */
     31    def sayHello = {
     32        render("Hello World!");
     33    }
     34
     35    /**
     36     * another dummy method
     37     */
     38    def sayWeather = {
     39        render("The weather is pretty good!");
    1940    }
    2041}
Note: See TracChangeset for help on using the changeset viewer.