Sha256: 378337e5a08804d92c10b1aa23eb3016f3d097ef25c27e7eccd1d51ee9f1a10f

Contents?: true

Size: 275 Bytes

Versions: 3

Compression:

Stored size: 275 Bytes

Contents

# frozen_string_literal: true

Rails.application.routes.draw do
  resources :articles do
    resources :comments, only: [:new, :create, :destroy]
  end

  resource :session, only: [:new, :create, :destroy]
  resource :user, only: [:new, :create]

  root 'articles#index'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
upgrow-0.0.5 test/dummy/config/routes.rb
upgrow-0.0.4 test/dummy/config/routes.rb
upgrow-0.0.3 test/dummy/config/routes.rb