Sha256: 1a09f10763e3f988402d134bf25ff8507e4eaef5eed9046f18e50d147d66a958

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

# Add routes for your plugin, like so:
#
# Workarea::Admin::Engine.routes.draw do
#   resources :inventory_notifications
# end
#
Workarea::Storefront::Engine.routes.draw do
  scope '(:locale)', constraints: Workarea::I18n.routes_constraint do
    get 'inventory_notifications/:product_id/new' => 'inventory_notifications#new', as: :new_product_inventory_notification
    post 'inventory_notifications/:product_id' => 'inventory_notifications#create', as: :create_product_inventory_notification
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-inventory_notifications-2.1.5 config/routes.rb