@Action

export declare let Action: (value: string) => Function;

@Action decorator is used to bind route action name to method

@Controller({
   name: "home"
})
export class HomeController {

  @Action("index")
  processAction() {
      return "1";
  }

}

This will match route home/index route or moduleName/home/index.

results matching ""

    No results matching ""