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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
ef9b78c1
Commit
ef9b78c1
authored
Mar 01, 2016
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialize User class on the view
parent
eed8b179
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
app/assets/javascripts/dispatcher.js.coffee
app/assets/javascripts/dispatcher.js.coffee
+0
-2
app/views/users/show.html.haml
app/views/users/show.html.haml
+7
-0
No files found.
app/assets/javascripts/dispatcher.js.coffee
View file @
ef9b78c1
...
@@ -107,8 +107,6 @@ class Dispatcher
...
@@ -107,8 +107,6 @@ class Dispatcher
new
ProjectFork
()
new
ProjectFork
()
when
'projects:artifacts:browse'
when
'projects:artifacts:browse'
new
BuildArtifacts
()
new
BuildArtifacts
()
when
'users:show'
new
User
()
switch
path
.
first
()
switch
path
.
first
()
when
'admin'
when
'admin'
...
...
app/views/users/show.html.haml
View file @
ef9b78c1
...
@@ -107,3 +107,10 @@
...
@@ -107,3 +107,10 @@
.loading-status
.loading-status
=
spinner
=
spinner
:javascript
var
userProfile
;
userProfile
=
new
User
({
action
:
"
#{
controller
.
action_name
}
"
});
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