huginn/config/environment.rb
2013-03-09 22:36:12 -08:00

8 lines
320 B
Ruby

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