diff --git a/app/assets/javascripts/discourse/routes/app-route-map.js.es6 b/app/assets/javascripts/discourse/routes/app-route-map.js.es6 index 01b03f07264..2b06baa10ab 100644 --- a/app/assets/javascripts/discourse/routes/app-route-map.js.es6 +++ b/app/assets/javascripts/discourse/routes/app-route-map.js.es6 @@ -49,6 +49,7 @@ export default function() { }); this.resource('group', { path: '/groups/:name' }, function() { + this.route('members'); this.route('posts'); this.route('topics'); this.route('mentions'); diff --git a/app/assets/javascripts/discourse/routes/group-members.js.es6 b/app/assets/javascripts/discourse/routes/group-members.js.es6 new file mode 100644 index 00000000000..8ec71ae22ae --- /dev/null +++ b/app/assets/javascripts/discourse/routes/group-members.js.es6 @@ -0,0 +1,5 @@ +export default Discourse.Route.extend({ + beforeModel: function() { + this.transitionTo("group.index"); + } +});