summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/dispatcher.js.coffee
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-04-20 17:00:12 +0100
committerPhil Hughes <me@iamphill.com>2016-04-20 17:00:12 +0100
commit75626d5f0134770065a18c73223bdd798866fa5b (patch)
treecc1d8bc6d2a674a0eb53fcf050afb3f92f077aae /app/assets/javascripts/dispatcher.js.coffee
parenta845252983e4a0346c17e1b058c388f4c23a547d (diff)
downloadgitlab-ce-75626d5f0134770065a18c73223bdd798866fa5b.tar.gz
Label text color comes from JSON
Created issuable singleton to house the filtering
Diffstat (limited to 'app/assets/javascripts/dispatcher.js.coffee')
-rw-r--r--app/assets/javascripts/dispatcher.js.coffee4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/dispatcher.js.coffee b/app/assets/javascripts/dispatcher.js.coffee
index ffc5dc602e2..f3ae146691b 100644
--- a/app/assets/javascripts/dispatcher.js.coffee
+++ b/app/assets/javascripts/dispatcher.js.coffee
@@ -17,6 +17,7 @@ class Dispatcher
switch page
when 'projects:issues:index'
Issues.init()
+ Issuable.init()
shortcut_handler = new ShortcutsNavigation()
when 'projects:issues:show'
new Issue()
@@ -57,8 +58,7 @@ class Dispatcher
new ZenMode()
when 'projects:merge_requests:index'
shortcut_handler = new ShortcutsNavigation()
- MergeRequests.init()
- Issues.init()
+ Issuable.init()
when 'dashboard:activity'
new Activities()
when 'dashboard:projects:starred'