From 79f92a675af528ecbe5abcc15b9c98805c9c7315 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 25 Jan 2008 10:31:06 +0000 Subject: User display format is now configurable in administration settings. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1103 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/settings_controller.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/controllers/settings_controller.rb') diff --git a/app/controllers/settings_controller.rb b/app/controllers/settings_controller.rb index c5fae2a16..c7c8751dd 100644 --- a/app/controllers/settings_controller.rb +++ b/app/controllers/settings_controller.rb @@ -35,7 +35,10 @@ class SettingsController < ApplicationController end flash[:notice] = l(:notice_successful_update) redirect_to :action => 'edit', :tab => params[:tab] + return end + @options = {} + @options[:user_format] = User::USER_FORMATS.keys.collect {|f| [User.current.name(f), f.to_s] } end def plugin -- cgit v1.2.3