only

   namespace :api do
    namespace :v1  do
      resources :messages
      resources :photos
      resource :login, only:[:create]
    end
  end

Reference

results matching ""

    No results matching ""