Sha256: 3a29af770998a4123ba913a5095fa66cf81e8f65bd8392e8cb2b82409bc09646

Contents?: true

Size: 545 Bytes

Versions: 1

Compression:

Stored size: 545 Bytes

Contents

Rails.application.routes.draw do

  namespace :admin do
    get 'posts/index'
  end

  mount Lina::Engine => '/lina'

  resources :arrays, only: [:index] do
    collection do
      get :string
      get :boolean
      get :null
      get :array_object
      get :array_object_nested_array
    end
  end

  resources :posts, only: [:index, :show, :update] do
    resources :labels, only: [:index, :show]
  end
  resources :desks, only: [:index, :show, :update] do
    collection do
      get :default_value
    end
  end
  root 'posts#index'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lina-0.0.3 test/dummy/config/routes.rb