MOBILE-3075 grades: Handle /grade/report/index.php links

main
Albert Gasset 2019-07-16 15:40:18 +02:00
parent b0477ab1d3
commit 01b29a4dc2
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ import { CoreGradesHelperProvider } from './helper';
@Injectable()
export class CoreGradesUserLinkHandler extends CoreContentLinksHandlerBase {
name = 'CoreGradesUserLinkHandler';
pattern = /\/grade\/report\/user\/index.php/;
pattern = /\/grade\/report(\/user)?\/index.php/;
constructor(private gradesProvider: CoreGradesProvider, private gradesHelper: CoreGradesHelperProvider) {
super();