mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-08 22:56:06 +00:00
10 lines
312 B
Ruby
10 lines
312 B
Ruby
# frozen_string_literal: true
|
|
|
|
Openfoodnetwork::Application.routes.append 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
|