diff options
author | kushalpandya <kushal@gitlab.com> | 2017-07-19 18:17:35 +0530 |
---|---|---|
committer | kushalpandya <kushal@gitlab.com> | 2017-07-19 18:17:35 +0530 |
commit | c2c255e8d7f08434ef6c2e5868fcab2fc5ad0d8e (patch) | |
tree | 47491451af8f6453e243a193e55e15601359b485 /app | |
parent | 584f323a69b33c3cd70148d27f0e921a55b7cade (diff) | |
download | gitlab-ce-c2c255e8d7f08434ef6c2e5868fcab2fc5ad0d8e.tar.gz |
Update Protected Branches feature initialization
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index ae19592ecbe..af468c2d773 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -40,6 +40,7 @@ import BlobLinePermalinkUpdater from './blob/blob_line_permalink_updater'; import Landing from './landing'; import BlobForkSuggestion from './blob/blob_fork_suggestion'; import UserCallout from './user_callout'; +import { ProtectedBranchCreate, ProtectedBranchEditList } from './protected_branches'; import { ProtectedTagCreate, ProtectedTagEditList } from './protected_tags'; import ShortcutsWiki from './shortcuts_wiki'; import Pipelines from './pipelines'; @@ -391,8 +392,8 @@ import PerformanceBar from './performance_bar'; break; case 'projects:settings:repository:show': // Initialize Protected Branch Settings - new gl.ProtectedBranchCreate(); - new gl.ProtectedBranchEditList(); + new ProtectedBranchCreate(); + new ProtectedBranchEditList(); // Initialize Protected Tag Settings new ProtectedTagCreate(); new ProtectedTagEditList(); |