Sha256: a1d23432711b5316677127622965e6b69fe339b13a7dea3fb74d020f7325273f

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 Bytes

Contents

MetaModel::Engine.routes.draw do
  namespace :meta do
    resources :models do
      collection do
        get :hierarchy
      end
    end
    resources :properties
    resources :has_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

1 entries across 1 versions & 1 rubygems

Version Path
neo4j-meta_model-0.0.1 config/routes.rb