Sha256: 6e586a88becfd22c4a7593c0fae4186c3d32788264e7be39acecb32fdcb5c5f8

Contents?: true

Size: 249 Bytes

Versions: 2

Compression:

Stored size: 249 Bytes

Contents

# frozen_string_literal: true

WorksCited::Engine.routes.draw do
  resources :citations do
    member do
      post 'preview', defaults: { format: :json }
    end
    collection do
      post 'preview', defaults: { format: :json }
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
works_cited-0.1.16 config/routes.rb
works_cited-0.1.15 config/routes.rb