Clean up permalink checker

This commit is contained in:
Rob Harrington
2015-01-16 17:56:24 +11:00
parent 9b78963d5a
commit 4088bdc236
3 changed files with 11 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
angular.module("admin.enterprises")
.controller "permalinkCtrl", ($scope, Enterprise, PermalinkChecker) ->
$scope.pristinePermalink = Enterprise.permalink
.controller "permalinkCtrl", ($scope, PermalinkChecker) ->
$scope.pristinePermalink = $scope.Enterprise.permalink
$scope.availablility = ""
$scope.checking = false