Sha256: 46dfef7c97f2d4e840340a43b1db865097a3dbcf9e9934968fe8e0c69a482dab

Contents?: true

Size: 378 Bytes

Versions: 5

Compression:

Stored size: 378 Bytes

Contents

PushType::Core::Engine.routes.draw do

  resources :nodes, except: :show do
    resources :nodes, only: [:index, :new, :create]
    post 'position', on: :member
  end

  resources :assets, except: :show, path: 'media' do
    post 'upload', on: :collection
  end

  resources :users, except: :show

  get 'info' => 'admin#info', as: 'info'

  root to: redirect('nodes')
    
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
push_type_admin-0.2.1 config/routes.rb
push_type_admin-0.2.0 config/routes.rb
push_type_admin-0.2.0.beta2 config/routes.rb
push_type_admin-0.1.1 config/routes.rb
push_type_admin-0.1.0 config/routes.rb