FEATURE: redirect /groups/:name/members to groups/:name
This commit is contained in:
parent
da43e4cf29
commit
92006fd344
|
@ -49,6 +49,7 @@ export default function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
this.resource('group', { path: '/groups/:name' }, function() {
|
this.resource('group', { path: '/groups/:name' }, function() {
|
||||||
|
this.route('members');
|
||||||
this.route('posts');
|
this.route('posts');
|
||||||
this.route('topics');
|
this.route('topics');
|
||||||
this.route('mentions');
|
this.route('mentions');
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
export default Discourse.Route.extend({
|
||||||
|
beforeModel: function() {
|
||||||
|
this.transitionTo("group.index");
|
||||||
|
}
|
||||||
|
});
|
Loading…
Reference in New Issue