Sha256: 7bc78f774c3363e6d00b57a1410f737841277a8cc3925237f3300634dea66404

Contents?: true

Size: 538 Bytes

Versions: 4

Compression:

Stored size: 538 Bytes

Contents

Workarea::Storefront::Engine.routes.draw do
  scope '(:locale)', constraints: Workarea::I18n.routes_constraint do
    namespace :users do
      resources :legacy_orders, only: [:show]
    end
  end
end

Workarea::Admin::Engine.routes.draw do
  scope '(:locale)', constraints: Workarea::I18n.routes_constraint do
    resources :legacy_orders, only: [:index, :show]
  end
end

if Workarea::Plugin.installed?("Workarea::Api")
  Workarea::Api::Admin::Engine.routes.draw do
    resources :legacy_orders, except: %i[new edit destroy]
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
workarea-legacy_orders-2.0.3 config/routes.rb
workarea-legacy_orders-2.0.2 config/routes.rb
workarea-legacy_orders-2.0.1 config/routes.rb
workarea-legacy_orders-2.0.0 config/routes.rb