summaryrefslogtreecommitdiffstats
path: root/config/environment.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-05 18:38:42 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-05 18:38:42 +0000
commit8509cf80f009436e900294acc821295f21e3b142 (patch)
tree37095d100c500b27cb2249dc3b7ece1198434637 /config/environment.rb
parent26a1ae4808368128f2cc8b348528506f358dab15 (diff)
downloadredmine-8509cf80f009436e900294acc821295f21e3b142.tar.gz
redmine-8509cf80f009436e900294acc821295f21e3b142.zip
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index
git-svn-id: http://redmine.rubyforge.org/svn/trunk@887 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/environment.rb')
-rw-r--r--config/environment.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/environment.rb b/config/environment.rb
index c7e0e47a9..69d469282 100644
--- a/config/environment.rb
+++ b/config/environment.rb
@@ -77,7 +77,10 @@ ActiveRecord::Errors.default_error_messages = {
}
ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| "#{html_tag}" }
-
+
+Mime::Type.register 'text/csv', :csv
+Mime::Type.register 'application/pdf', :pdf
+
GLoc.set_config :default_language => :en
GLoc.clear_strings
GLoc.set_kcode