Sha256: 45bb1443c85dc3c22ada6740ba9e0d4585539aa05b325d7b456b1210a3fafea2

Contents?: true

Size: 391 Bytes

Versions: 14

Compression:

Stored size: 391 Bytes

Contents

puts 'Loading engine routes'

MetaModel::Engine.routes.draw do
  namespace :meta do
    resources :models do
      collection do
        get :hierarchy
      end
    end
    resources :properties
    resources :associations#, path: '/associations'#, param: :asso
  end

  get '/meta' => 'meta#index'


  resources :models, path: '/:model'

  root 'models#meta_index'#, as: :meta_models
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
neo4j-meta_model-0.4.0 test/dummy/config/routes.rb
neo4j-meta_model-0.3.5 test/dummy/config/routes.rb
neo4j-meta_model-0.3.4 test/dummy/config/routes.rb
neo4j-meta_model-0.3.3 test/dummy/config/routes.rb
neo4j-meta_model-0.3.2 test/dummy/config/routes.rb
neo4j-meta_model-0.3.1 test/dummy/config/routes.rb
neo4j-meta_model-0.3.0 test/dummy/config/routes.rb
neo4j-meta_model-0.2.2 test/dummy/config/routes.rb
neo4j-meta_model-0.2.1 test/dummy/config/routes.rb
neo4j-meta_model-0.2.0 test/dummy/config/routes.rb
neo4j-meta_model-0.1.2 test/dummy/config/routes.rb
neo4j-meta_model-0.1.1 test/dummy/config/routes.rb
neo4j-meta_model-0.1.0 test/dummy/config/routes.rb
neo4j-meta_model-0.0.1 test/dummy/config/routes.rb