diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-01 11:22:27 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-03-01 11:22:27 -0500 |
commit | 10eb6d3cd7c9777d38558017073997d3b5be1c98 (patch) | |
tree | 8c526c17d2b9aa9ff422f72b1ca4a8d1bebbaeed /app/controllers/users_controller.rb | |
parent | 48ae8ef165a426e5899201789f9b6714ca21e808 (diff) | |
download | gitlab-ce-10eb6d3cd7c9777d38558017073997d3b5be1c98.tar.gz |
Respond with 'show' view. Tab content will be loaded dinamically
Diffstat (limited to 'app/controllers/users_controller.rb')
-rw-r--r-- | app/controllers/users_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index bbf92e27aae..a1ab9936535 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -22,7 +22,7 @@ class UsersController < ApplicationController load_groups respond_to do |format| - format.html + format.html { render 'show' } format.json do render json: { html: view_to_html_string("shared/groups/_list", groups: @groups) @@ -35,7 +35,7 @@ class UsersController < ApplicationController load_projects respond_to do |format| - format.html + format.html { render 'show' } format.json do render json: { html: view_to_html_string("shared/projects/_list", projects: @projects, remote: true) @@ -48,7 +48,7 @@ class UsersController < ApplicationController load_contributed_projects respond_to do |format| - format.html + format.html { render 'show' } format.json do render json: { html: view_to_html_string("shared/projects/_list", projects: @contributed_projects) |