From 0ce438687dc38a4577ae31c1cd3f207277d9db35 Mon Sep 17 00:00:00 2001 From: ioBridge Date: Wed, 30 Mar 2011 16:54:46 -0400 Subject: [PATCH] match crossdomain.xml file --- config/routes.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/routes.rb b/config/routes.rb index 6bf69ac..2f16e30 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -5,6 +5,7 @@ Thingspeak::Application.routes.draw do # handle subdomain routes match '/', :to => 'subdomains#index', :constraints => { :subdomain => 'api' } match 'crossdomain', :to => 'subdomains#crossdomain', :constraints => { :subdomain => 'api' } + match 'crossdomain', :to => 'subdomains#crossdomain' root :to => 'pages#home'