Sha256: e09c9a67e080baee28b3c23173dc1d2bda63532e58dac688f9166ab54e198c93

Contents?: true

Size: 140 Bytes

Versions: 9

Compression:

Stored size: 140 Bytes

Contents

Dummy::Application.routes.draw do
  root to: 'posts#index'

  Post.all.each { |post| get "/#{post.id}", to: 'posts#show', id: post.id }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
blogue-0.3.0 test/dummy/config/routes.rb
blogue-0.2.0 test/dummy/config/routes.rb
blogue-0.1.0 test/dummy/config/routes.rb
blogue-0.0.6 test/dummy/config/routes.rb
blogue-0.0.5 test/dummy/config/routes.rb
blogue-0.0.4 test/dummy/config/routes.rb
blogue-0.0.3 test/dummy/config/routes.rb
blogue-0.0.2 test/dummy/config/routes.rb
blogue-0.0.1 test/dummy/config/routes.rb