Sha256: da0f358cbcb31dbe0c450025c5baa99d493d5a02fb31fc53e6c121a328eba69a

Contents?: true

Size: 808 Bytes

Versions: 3

Compression:

Stored size: 808 Bytes

Contents

JquerySortableTreeTest::Application.routes.draw do
  get 'category/index'
  get 'category/manage'

  root to: 'welcome#index'

  resources :pages do
    collection do
      get :nested_options
      get :indented_options
      get :optgroup
      get :manage
      get :node_manage
      get :expand

      post :rebuild
      post :expand_node
    end
  end

  namespace :admin do
    resources :pages do
      collection do
        get  :nested_options, :indented_options, :optgroup, :manage, :node_manage
        post :rebuild
      end
    end
  end

  resources :article_categories do
    collection do
      get  :manage
      post :rebuild
    end
  end

  namespace :inventory do
    resources :categories do
      collection do
        get  :manage
        post :rebuild
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jquery_sortable_tree-3.1.2 spec/dummy_app/config/routes.rb
jquery_sortable_tree-3.1.1 spec/dummy_app/config/routes.rb
jquery_sortable_tree-3.1.0 spec/dummy_app/config/routes.rb