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:
luisramos0
2018-08-13 17:25:51 +01:00
committed by Maikel Linke
parent 1c20967ca4
commit ccd5147b11
5 changed files with 10 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
class AngularTemplatesController < ApplicationController
def show
render params[:id].to_s, layout: nil
end
end