Fixed: CSV constant warning
git-svn-id: http://redmine.rubyforge.org/svn/trunk@895 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b0bb1baeaa
commit
362364fd6f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue