aboutsummaryrefslogtreecommitdiffstats
path: root/src/service/route.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/route.js')
-rw-r--r--src/service/route.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service/route.js b/src/service/route.js
index b78cca91..f5c8a672 100644
--- a/src/service/route.js
+++ b/src/service/route.js
@@ -188,7 +188,7 @@ angularServiceInject('$route', function($location, $routeParams) {
* @description
* Adds a new route definition to the `$route` service.
*/
- when: function (path, route) {
+ when: function(path, route) {
var routeDef = routes[path];
if (!routeDef) routeDef = routes[path] = {reloadOnSearch: true};
if (route) extend(routeDef, route); // TODO(im): what the heck? merge two route definitions?