Remove unnecessary method - handled by FreeTrialModalController

This commit is contained in:
Alasdair Smith 2017-12-13 11:09:43 +00:00
parent f5c914ed6c
commit 4c81cd874f

View file

@ -4,8 +4,3 @@ define [
App.controller "TrackChangesUpgradeModalController", ($scope, $modalInstance) -> App.controller "TrackChangesUpgradeModalController", ($scope, $modalInstance) ->
$scope.cancel = () -> $scope.cancel = () ->
$modalInstance.dismiss() $modalInstance.dismiss()
$scope.startFreeTrial = (source) ->
ga?('send', 'event', 'subscription-funnel', 'upgraded-free-trial', source)
window.open("/user/subscription/new?planCode=student_free_trial_7_days")
$scope.startedFreeTrial = true