Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0a25cdd7
Commit
0a25cdd7
authored
Jan 18, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] Improve dispatcher
parent
21d968bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
app/assets/javascripts/dispatcher.js
app/assets/javascripts/dispatcher.js
+2
-10
No files found.
app/assets/javascripts/dispatcher.js
View file @
0a25cdd7
...
@@ -265,20 +265,12 @@ import Activities from './activities';
...
@@ -265,20 +265,12 @@ import Activities from './activities';
.
catch
(
fail
);
.
catch
(
fail
);
break
;
break
;
case
'
projects:snippets:new
'
:
case
'
projects:snippets:new
'
:
import
(
'
./pages/projects/snippets/new
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
projects:snippets:edit
'
:
import
(
'
./pages/projects/snippets/edit
'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'
projects:snippets:create
'
:
case
'
projects:snippets:create
'
:
import
(
'
./pages/projects/snippets/create
'
)
import
(
'
./pages/projects/snippets/create
'
)
.
then
(
callDefault
)
.
then
(
callDefault
)
.
catch
(
fail
);
.
catch
(
fail
);
break
;
break
;
case
'
projects:snippets:edit
'
:
case
'
projects:snippets:update
'
:
case
'
projects:snippets:update
'
:
import
(
'
./pages/projects/snippets/update
'
)
import
(
'
./pages/projects/snippets/update
'
)
.
then
(
callDefault
)
.
then
(
callDefault
)
...
@@ -305,7 +297,7 @@ import Activities from './activities';
...
@@ -305,7 +297,7 @@ import Activities from './activities';
.
catch
(
fail
);
.
catch
(
fail
);
break
;
break
;
case
'
projects:releases:edit
'
:
case
'
projects:releases:edit
'
:
import
(
'
./pages/projects/releases
'
)
import
(
'
./pages/projects/releases
/edit
'
)
.
then
(
callDefault
)
.
then
(
callDefault
)
.
catch
(
fail
);
.
catch
(
fail
);
break
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment