Sha256: c17542bd5a97e76c93626cd4f823b1c500b06b54159fc0bc86f73af77076dcb7
Contents?: true
Size: 479 Bytes
Versions: 2
Compression:
Stored size: 479 Bytes
Contents
Defile::TestApp.routes.draw do root to: "home#index" scope path: "normal", as: "normal" do resources :posts, only: [:new, :create, :show], controller: "normal_posts" end scope path: "direct", as: "direct" do resources :posts, only: [:new, :create], controller: "direct_posts" end scope path: "presigned", as: "presigned" do resources :posts, only: [:new, :create], controller: "presigned_posts" do post :upload, on: :collection end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
defile-0.2.1 | spec/defile/test_app/config/routes.rb |
defile-0.2.0 | spec/defile/test_app/config/routes.rb |