thingspeak/app/controllers/cors_controller.rb
2014-02-17 12:05:39 -05:00

9 lines
215 B
Ruby

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