Sha256: 5c0ccf98fb632cdd7903d897853de424b0f27a6ffa31f41b6ad4cbee0039c906

Contents?: true

Size: 273 Bytes

Versions: 3

Compression:

Stored size: 273 Bytes

Contents

Workarea::Core::Engine.routes.draw do
  get 'google_feed' => Dragonfly.app(:workarea).endpoint { |params, app|
    raise Workarea::Feed::Google::NoFeedError if Workarea::Feed::Google.first.nil?
    app.fetch(Workarea::Feed::Google.first.feed_uid)
  }, as: :google_feed
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-google_product_feed-3.2.0 config/routes.rb
workarea-google_product_feed-3.1.4 config/routes.rb
workarea-google_product_feed-3.1.3 config/routes.rb