environment.rb 320 B

12345678
  1. # Load the rails application
  2. require File.expand_path('../application', __FILE__)
  3. # Remove the XML parser from the list that will be used to initialize the application's XML parser list.
  4. ActionDispatch::ParamsParser::DEFAULT_PARSERS.delete(Mime::XML)
  5. # Initialize the rails application
  6. Huginn::Application.initialize!