Help for this page

Select Code to Download


  1. or download this
    =head2 base
    
    Chain base for getting the club ID and checking it.  Matches /clubs/*
    ...
    sub view_finalise :Private {
      # Irrelevant to this
    }
    
  2. or download this
      # Get the action for the current request and join it on to the names
    +pace (unless they match, as that means we'll get multiples where we d
    +on't want it; if the action has a slash in it, we won't join either)
        my $action = $c->request->action;
        $action = join("/", $c->namespace, $action) unless $action eq $c->
    +namespace or $action =~ m#/#;
    ...
      # Return the value with the first character converted to upper-case 
    +(unless we've specified all lower-case)
      return !$c->config->{breadcrumbs}{lowercase} ? ucfirst($label) : lc(
    +$label);
    }