From: Jean-Philippe Lang Date: Wed, 16 Mar 2011 19:36:53 +0000 (+0000) Subject: Indentation. X-Git-Tag: 1.2.0~689 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9df5750906521fe3ef5c9f777efdd7b74323e38d;p=redmine.git Indentation. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5154 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 2c4ca371e..634ab0a13 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -58,13 +58,13 @@ class UsersController < ApplicationController :limit => @limit, :offset => @offset - respond_to do |format| - format.html { + respond_to do |format| + format.html { @groups = Group.all.sort render :layout => !request.xhr? } format.api - end + end end def show