Sha256: f87e3247d5e2583336e5795d2344527ac35747763a6a5797c617620fc81be95d

Contents?: true

Size: 317 Bytes

Versions: 1

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

Spree::Core::Engine.routes.draw do
  namespace :admin do
    resources :pages do
      collection do
        post :update_positions
      end
    end
  end

  constraints(SolidusStaticContent::RouteMatcher) do
    get '/(*path)', :to => 'static_content#show', :as => 'static'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_static_content-2.0.0 config/routes.rb