Sha256: 2ea92d1938140e87fa7ba86027385a7c7c83082375beb74d280065a02dbe20b5

Contents?: true

Size: 742 Bytes

Versions: 16

Compression:

Stored size: 742 Bytes

Contents

Flexite::Engine.routes.draw do
  resources :entries do
    collection do
      get 'new_array' => 'entries#new_array_entry'
      delete 'destroy_array' => 'entries#destroy_array_entry'
      get ':parent_id/select_type' => 'entries#select_type', as: :select_type
    end
  end

  resources :configs do
    resources :entries
    resources :configs, only: [:index, :new]
    get :reload, on: :collection
  end

  resources :histories, only: [] do
    get ':entity_id/:entity_type/show', to: 'histories#index', as: :entity, constraints: { entity_type: /.*/ }, on: :collection
    get :restore
  end

  resource :diff, only: [:show] do
    post :check
    post :apply
    post :save_diff
    get :push
  end

  root to: 'application#index'
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
flexite-0.0.23 config/routes.rb
flexite-0.0.22 config/routes.rb
flexite-0.0.21 config/routes.rb
flexite-0.0.20 config/routes.rb
flexite-0.0.19 config/routes.rb
flexite-0.0.18 config/routes.rb
flexite-0.0.17 config/routes.rb
flexite-0.0.16 config/routes.rb
flexite-0.0.15 config/routes.rb
flexite-0.0.14 config/routes.rb
flexite-0.0.13 config/routes.rb
flexite-0.0.12 config/routes.rb
flexite-0.0.11 config/routes.rb
flexite-0.0.10 config/routes.rb
flexite-0.0.9 config/routes.rb
flexite-0.0.8 config/routes.rb