mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Added angular templates route and controller to serve angular templates from the server, instead of precompiled assets. This was used to fix a problem with the cookies policy page template that was using a Spree configuration
This commit is contained in:
5
app/controllers/angular_templates_controller.rb
Normal file
5
app/controllers/angular_templates_controller.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AngularTemplatesController < ApplicationController
|
||||
def show
|
||||
render params[:id].to_s, layout: nil
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user