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