thingspeak/app/controllers/cors_controller.rb

9 lines
215 B
Ruby
Raw Normal View History

class CorsController < ApplicationController
skip_before_filter :verify_authenticity_token
# dummy method that responds with status 200 for CORS preflighting
def preflight; render :nothing => true; end
end