Merge pull request #2005 from albertgasset/MOBILE-3075

MOBILE-3075 grades: Handle /grade/report/index.php links
main
Juan Leyva 2019-07-22 11:57:20 +02:00 committed by GitHub
commit 916d408f65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();