Sha256: 0427322be6aae55d303b1b7ec2ccf9267f030b94eda31958ff6d6fd4d2afa13e
Contents?: true
Size: 680 Bytes
Versions: 14
Compression:
Stored size: 680 Bytes
Contents
PushType::Admin::Engine.routes.draw do scope module: 'admin' 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 end get 'info' => 'admin#info', as: 'info' root to: redirect('nodes') end
Version data entries
14 entries across 14 versions & 1 rubygems