Skip to content

Commit

Permalink
Merge pull request #23 from debraj-manna/master
Browse files Browse the repository at this point in the history
Fix for Issue #14
  • Loading branch information
rsdevigo committed Oct 26, 2015
2 parents bb1a0f4 + 854c73e commit a836cf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/core/controllers/header.client.controller.js
Expand Up @@ -15,8 +15,8 @@ angular.module('core').controller('HeaderController', ['$scope', '$location', '$
$scope.isCollapsed = false;
});

$scope.setKongUrl = function() {
var url = this.url;
$scope.setKongUrl = function() {
var url = this.url = this.url.replace(/\/$/, "");
$http.get(this.url).success(function(data, status){
if (status === 200) {
$localStorage.kongurl = url;
Expand Down

0 comments on commit a836cf8

Please sign in to comment.