Commit ef9b78c1 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Initialize User class on the view

parent eed8b179
......@@ -107,8 +107,6 @@ class Dispatcher
new ProjectFork()
when 'projects:artifacts:browse'
new BuildArtifacts()
when 'users:show'
new User()
switch path.first()
when 'admin'
......
......@@ -107,3 +107,10 @@
.loading-status
= spinner
:javascript
var userProfile;
userProfile = new User({
action: "#{controller.action_name}"
});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment