Sha256: cc933f28cfd4be6acea815deca63c1a85448b36afca469d085e86a920ff9a123

Contents?: true

Size: 222 Bytes

Versions: 3

Compression:

Stored size: 222 Bytes

Contents

FactoryGirl::RemoteApi::Engine.routes.draw do
  get ':factory_method/:factory' => 'factories#show', defaults: { format: :json }
  match ':factory' => 'factories#create', via: [:get, :post], defaults: { format: :json }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
factory_girl-remote_api-0.4.1 config/routes.rb
factory_girl-remote_api-0.4.0 config/routes.rb
factory_girl-remote_api-0.3.0 config/routes.rb