summaryrefslogtreecommitdiffstats
path: root/js/config/run.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/config/run.js')
-rw-r--r--js/config/run.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/config/run.js b/js/config/run.js
new file mode 100644
index 000000000..3feca64e4
--- /dev/null
+++ b/js/config/run.js
@@ -0,0 +1,14 @@
+/**
+ * ownCloud - News
+ *
+ * This file is licensed under the Affero General Public License version 3 or
+ * later. See the COPYING file.
+ *
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright Bernhard Posselt 2012, 2014
+ */
+app.run(function ($rootScope) {
+ 'use strict';
+
+ $rootScope.$on('$routeChangeError');
+}); \ No newline at end of file