diff options
Diffstat (limited to 'config/environment.rb')
-rw-r--r-- | config/environment.rb | 5 |
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 |