Sha256: 887d2edc778ac356432c439e43f4205e72c491ec39334239cd0f6d34d7568047

Contents?: true

Size: 449 Bytes

Versions: 9

Compression:

Stored size: 449 Bytes

Contents

Refile::TestApp.routes.draw do
  root to: "home#index"

  scope path: "normal", as: "normal" do
    resources :posts, 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

9 entries across 9 versions & 1 rubygems

Version Path
refile-0.5.5 spec/refile/test_app/config/routes.rb
refile-0.5.4 spec/refile/test_app/config/routes.rb
refile-0.5.3 spec/refile/test_app/config/routes.rb
refile-0.5.2 spec/refile/test_app/config/routes.rb
refile-0.5.1 spec/refile/test_app/config/routes.rb
refile-0.5.0 spec/refile/test_app/config/routes.rb
refile-0.4.2 spec/refile/test_app/config/routes.rb
refile-0.4.1 spec/refile/test_app/config/routes.rb
refile-0.4.0 spec/refile/test_app/config/routes.rb