examples/rails_app/config/environment.rb in peto-0.2.4 vs examples/rails_app/config/environment.rb in peto-0.2.5
- old
+ new
@@ -1,5 +1,9 @@
# Load the rails application
require File.expand_path('../application', __FILE__)
# Initialize the rails application
RailsApp::Application.initialize!
+
+#ActionController::Base.param_parsers[Mime::Type::lookup("application/json")] = Proc.new {
+# ActiveSupport::JSON.decode(data)
+#}