Function generateFilePath

  • Get the url with webroot for a file in an app

    Parameters

    • app: string

      the id of the app

    • type: string

      the type of the file to link to (e.g. css,img,ajax.template)

    • file: string

      the filename

    Returns string

    URL with webroot for a file in an app