thingspeak/app/controllers/subdomains_controller.rb

16 lines
250 B
Ruby
Raw Normal View History

2011-03-27 22:56:15 +02:00
class SubdomainsController < ApplicationController
# show a blank page if subdomain
def index
render :text => ''
end
2011-03-27 22:56:15 +02:00
# output the file crossdomain.xml.erb
def crossdomain
respond_to do |format|
format.xml
end
end
2011-03-27 22:56:15 +02:00
end