Sha256: 71950bbfdb13be62e172e72bcc6f4a9938f7c8ffe9c6f3feb3a7b80b34ee30e6

Contents?: true

Size: 769 Bytes

Versions: 1

Compression:

Stored size: 769 Bytes

Contents

Tasks::Engine.routes.draw do
  resources :tasks, only: [:show]

  scope module: :taskables do
    resources :verifications, only: [] do
      scope module: :verifications do
        resources :confirmations, only: [:create]
      end
    end

    resources :questions, only: [] do
      scope module: :questions do
        resources :answers, only: [:create]
      end
    end

    namespace :image do
      resources :requests, only: [] do
        resources :responses, only: [:create]
      end
    end

    namespace :text do
      resources :requests, only:  [] do
        resources :responses, only: [:create]
      end
    end

    namespace :url do
      resources :requests, only: [] do
        resources :responses, only: [:create]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tasuku-0.0.1 config/routes.rb