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