fix: Prevent tavern from syncing every time a user goes to the tavern page

This commit is contained in:
Blade Barringer 2016-06-07 08:52:01 -05:00
parent 006b074ac2
commit 3f8ab017ce

View file

@ -2,7 +2,7 @@
habitrpg.controller("TavernCtrl", ['$scope', 'Groups', 'User', 'Challenges',
function($scope, Groups, User, Challenges) {
Groups.tavern(true)
Groups.tavern()
.then(function (tavern) {
$scope.group = tavern;
Challenges.getGroupChallenges($scope.group._id)