Skip to content

Commit

Permalink
Merge pull request #183 from ror-community/404-error
Browse files Browse the repository at this point in the history
remove default route temporarily
  • Loading branch information
lizkrznarich committed Mar 27, 2023
2 parents 77af025 + 9110ab1 commit 5c68440
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ Router.map(function() {
this.route('show', { path: '/:organization_id' });
this.route('about', { path: '/' });
});
this.route('error', { path: '/*path' });
});

export default Router;
4 changes: 2 additions & 2 deletions app/routes/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Route from '@ember/routing/route';
import ENV from 'ror-app/config/environment';

Check failure on line 2 in app/routes/error.js

View workflow job for this annotation

GitHub Actions / run

'ENV' is defined but never used

export default Route.extend({
redirect: function() {
/*redirect: function() {
window.location.replace(ENV.BASE_URL + "/error");
}
}*/
});

0 comments on commit 5c68440

Please sign in to comment.