KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am developing an application that with rely heavily on subdomains. It has an application embedded in the application (a module) that will be a backend to administer the application. Let's name it kong. I have this code in my routes file: constraints :subdomain => "kong" do scope :module => "kong", :as => "kong" do resources :clients end end How can I test this route so that when I write something like the following it fetches from the subdomain and only from the subdomain: get :index
Tags (comma-separated)
Save Edits
Cancel