diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-11 20:55:27 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-11 20:55:27 +0000 |
commit | 362364fd6f214e135d059f28106ceaa02d9bd7d4 (patch) | |
tree | 760b86d10a0df66fa60134a6022fd57e9beaa77c /config/environment.rb | |
parent | b0bb1baeaac665eea6188f05af627697a3e90eaa (diff) | |
download | redmine-362364fd6f214e135d059f28106ceaa02d9bd7d4.tar.gz redmine-362364fd6f214e135d059f28106ceaa02d9bd7d4.zip |
Fixed: CSV constant warning
git-svn-id: http://redmine.rubyforge.org/svn/trunk@895 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/environment.rb')
-rw-r--r-- | config/environment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environment.rb b/config/environment.rb index 69d469282..447e47e21 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -78,7 +78,7 @@ ActiveRecord::Errors.default_error_messages = { ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| "#{html_tag}" } -Mime::Type.register 'text/csv', :csv +Mime::SET << Mime::CSV unless Mime::SET.include?(Mime::CSV) Mime::Type.register 'application/pdf', :pdf GLoc.set_config :default_language => :en |