Namespaced API with resources specified twice
===

I'm trying to create a namespaced API in rails and am running into an issue

    
      # Resources
      resources :users do 
        resources :contacts
      end
    
      #==========================================>
      #  API namespacing and routing
      #==========================================>
    
      namespace :api do 
        namespace :v1 do
          
          # =======================>
          # Resources -> Users
          #   Resources -> Contacts
          # =======================>
          resources :users do
            resources :contacts
          end
    
          # =======================>
          # Resources -> Messages 
          #   Resources -> Transcriptions
          # =======================>
          resources :messages do
            resources :transcriptions 
          end
    
        end
      end

I want to have my html-responding version of the resource outside of the 'api' namespace (i.e. in the regular app/controllers/users_controller.rb area) but my json-responding inside the namespace.

However when I point my url at the "/api/v1/users.json" link it utilizes the controller specified by the OUTSIDE resources app/controllers/users_controller rather than the one I put in app/controllers/api/v1/users_controller.

Am I only allowed one resources reference despite it being namespaced differently?

Why exactly is this happending
