Skip to content
Snippets Groups Projects
Commit 00ac7265 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Fix leave room

parent 2a6c2e26
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ Template.chatRoomItem.events
e.preventDefault()
if (FlowRouter.getRouteName() is 'room' and FlowRouter.getParam('_id') is this.rid)
FlowRouter.go 'index'
FlowRouter.go 'home'
Meteor.call 'hideRoom', this.rid
......@@ -61,7 +61,7 @@ Template.chatRoomItem.events
e.preventDefault()
if (FlowRouter.getRouteName() is 'room' and FlowRouter.getParam('_id') is this.rid)
FlowRouter.go 'index'
FlowRouter.go 'home'
RoomManager.close this.rid
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment