mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-01 21:47:16 +00:00
8 lines
282 B
Ruby
8 lines
282 B
Ruby
Openfoodnetwork::Application.routes.prepend do
|
|
scope '/api/cookies' do
|
|
resource :consent, only: [:show, :create, :destroy], controller: "web/api/cookies_consent"
|
|
end
|
|
|
|
get "/angular-templates/:id", to: "web/angular_templates#show", constraints: { name: %r{[\/\w\.]+} }
|
|
end
|