@@ -78,7 +78,7 ActiveRecord::Errors.default_error_messages = { | |||||
78 |
|
78 | |||
79 | ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| "#{html_tag}" } |
|
79 | ActionView::Base.field_error_proc = Proc.new{ |html_tag, instance| "#{html_tag}" } | |
80 |
|
80 | |||
81 | Mime::Type.register 'text/csv', :csv |
|
81 | Mime::SET << Mime::CSV unless Mime::SET.include?(Mime::CSV) | |
82 | Mime::Type.register 'application/pdf', :pdf |
|
82 | Mime::Type.register 'application/pdf', :pdf | |
83 |
|
83 | |||
84 | GLoc.set_config :default_language => :en |
|
84 | GLoc.set_config :default_language => :en |
General Comments 0
You need to be logged in to leave comments.
Login now