Skip to content

Commit

Permalink
Merge pull request #694 from jay-hodgson/PORTALS-2919
Browse files Browse the repository at this point in the history
PORTALS-2919: add redirect from DataAccess/Instructions to /Data Access
  • Loading branch information
jay-hodgson authored Feb 7, 2024
2 parents bded50b + 6a30be7 commit e85ca2c
Showing 1 changed file with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const routes: GenericRoute[] = [
exact: false,
strict: false,
from: 'ExperimentalModels',
to: 'Explore/Experimental Models',
to: '/Explore/Experimental Models',
},
},
],
Expand Down Expand Up @@ -250,6 +250,26 @@ const routes: GenericRoute[] = [
},
],
},
// PORTALS-2919: Redirect DataAccess/Instructions to /Data Access
{
path: 'DataAccess',
hideRouteFromNavbar: true,
routes: [
{
path: 'Instructions',
synapseConfigArray: [
{
name: 'Redirect',
props: {
to: {
pathname: '/Data Access',
},
},
},
],
},
],
},
{
path: 'Explore',
routes: [
Expand Down

0 comments on commit e85ca2c

Please sign in to comment.