Sha256: 73c473b51b853bd59a074aecc2c369e2e943852c13fd9ecae90d7ac55677a388
Contents?: true
Size: 601 Bytes
Versions: 16
Compression:
Stored size: 601 Bytes
Contents
PushType::Core::Engine.routes.draw do resources :nodes, except: :show do collection do get 'trash' delete 'trash' => 'nodes#empty' end member do post 'position' put 'restore' end resources :nodes, only: [:index, :new, :create] end resources :assets, except: :show, path: 'media' do collection do post 'upload' get 'trash' delete 'trash' => 'assets#empty' end member do put 'restore' end end resources :users, except: :show get 'info' => 'admin#info', as: 'info' root to: redirect('nodes') end
Version data entries
16 entries across 16 versions & 1 rubygems