Commit 0442b51b authored by Mahdi Mahmoudy's avatar Mahdi Mahmoudy
Browse files

Merge branch 'brakets-issue'

parents 13b81f5b 774052fa
'use strict';
app.controller('SearchCtrl', function($scope, $location, $routeParams) {
$scope.searchTerm = $routeParams.searchTerm;
$scope.searchTerm = $routeParams.searchTerm
.replace(/\[(.*)\]/, "%5B$1%5D");
});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment