Sha256: d87db4c8bd7ee1b4fb82c1f273dbcffebc0847939a1b7b69b22f0239979e8421

Contents?: true

Size: 770 Bytes

Versions: 2

Compression:

Stored size: 770 Bytes

Contents

Tasuku::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

2 entries across 2 versions & 1 rubygems

Version Path
tasuku-0.1.1 config/routes.rb
tasuku-0.1.0 config/routes.rb