Class RouterDSL

Hierarchy

Index

Methods

Methods

public resource(name: string, options?: {}, callback?: Function)

Parameters

  • name: string
  • options?: {} optional
  • callback?: Function optional

public resource(name: string, callback: Function)

Parameters

  • name: string
  • callback: Function

public route(name: string, options?: {})

Parameters

  • name: string
  • options?: {} optional