Sha256: 1317f238fd6bcd65e24f0e54f10bfae71cbd799d05dfd9ae99047c455e0ef5d4

Contents?: true

Size: 1.87 KB

Versions: 93

Compression:

Stored size: 1.87 KB

Contents

Rails.application.routes.draw do
  # See `config/routes.rb` for details.
  collection_actions = [:index, :new, :create]
  extending = {only: []}

  namespace :api do
    namespace :v1 do
      shallow do
        resources :teams, extending do
          unless scaffolding_things_disabled?
            namespace :scaffolding do
              namespace :absolutely_abstract do
                resources :creative_concepts do
                  scope module: "creative_concepts" do
                    resources :collaborators, only: collection_actions
                  end

                  namespace :creative_concepts do
                    resources :collaborators, except: collection_actions
                  end
                end
              end
              resources :absolutely_abstract_creative_concepts, path: "absolutely_abstract/creative_concepts" do
                namespace :completely_concrete do
                  resources :tangible_things
                end
              end
            end
          end
        end
      end
    end
  end

  namespace :account do
    shallow do
      resources :teams do
        unless scaffolding_things_disabled?
          namespace :scaffolding do
            namespace :absolutely_abstract do
              resources :creative_concepts do
                scope module: "creative_concepts" do
                  resources :collaborators, only: collection_actions
                end

                namespace :creative_concepts do
                  resources :collaborators, except: collection_actions
                end
              end
            end
            resources :absolutely_abstract_creative_concepts, path: "absolutely_abstract/creative_concepts" do
              namespace :completely_concrete do
                resources :tangible_things
              end
            end
          end
        end
      end
    end
  end
end

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
bullet_train-super_scaffolding-1.6.10 config/routes.rb
bullet_train-super_scaffolding-1.6.9 config/routes.rb
bullet_train-super_scaffolding-1.6.8 config/routes.rb
bullet_train-super_scaffolding-1.6.7 config/routes.rb
bullet_train-super_scaffolding-1.6.6 config/routes.rb
bullet_train-super_scaffolding-1.6.5 config/routes.rb
bullet_train-super_scaffolding-1.6.4 config/routes.rb
bullet_train-super_scaffolding-1.6.3 config/routes.rb
bullet_train-super_scaffolding-1.6.2 config/routes.rb
bullet_train-super_scaffolding-1.6.1 config/routes.rb
bullet_train-super_scaffolding-1.6.0 config/routes.rb
bullet_train-super_scaffolding-1.5.2 config/routes.rb
bullet_train-super_scaffolding-1.5.1 config/routes.rb
bullet_train-super_scaffolding-1.5.0 config/routes.rb
bullet_train-super_scaffolding-1.4.11 config/routes.rb
bullet_train-super_scaffolding-1.4.10 config/routes.rb
bullet_train-super_scaffolding-1.4.9 config/routes.rb
bullet_train-super_scaffolding-1.4.8 config/routes.rb
bullet_train-super_scaffolding-1.4.7 config/routes.rb
bullet_train-super_scaffolding-1.4.6 config/routes.rb