diff --git a/src/controllers/dashboard/users/userparentalcontrol.html b/src/controllers/dashboard/users/userparentalcontrol.html
deleted file mode 100644
index 8a93c3f931..0000000000
--- a/src/controllers/dashboard/users/userparentalcontrol.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
+
+
);
};
diff --git a/src/routes/index.tsx b/src/routes/index.tsx
index 0ea8b888c9..de5a6f170e 100644
--- a/src/routes/index.tsx
+++ b/src/routes/index.tsx
@@ -6,6 +6,7 @@ import NewUserPage from './NewUserPage';
import SearchPage from './search';
import UserEditPage from './UserEditPage';
import UserLibraryAccessPage from './UserLibraryAccessPage';
+import UserParentalControl from './UserParentalControl';
import UserProfilesPage from './UserProfilesPage';
const AppRoutes = () => (
@@ -51,6 +52,14 @@ const AppRoutes = () => (
}
/>
+
+
+
+ }
+ />
{/* Suppress warnings for unhandled routes */}
diff --git a/src/scripts/routes.js b/src/scripts/routes.js
index 0c52e0018d..2e7ab3e11b 100644
--- a/src/scripts/routes.js
+++ b/src/scripts/routes.js
@@ -429,14 +429,6 @@ import { appRouter } from '../components/appRouter';
controller: 'shows/tvrecommended'
});
- defineRoute({
- alias: '/userparentalcontrol.html',
- path: 'dashboard/users/userparentalcontrol.html',
- autoFocus: false,
- roles: 'admin',
- pageComponent: 'UserParentalControl'
- });
-
defineRoute({
alias: '/userpassword.html',
path: 'dashboard/users/userpassword.html',