> On Jan 7, 2019, at 7:50 PM, fugee ohu <fugee279@gmail.com> wrote:
>
>
>
> On Saturday, January 5, 2019 at 8:33:18 AM UTC-5, fugee ohu wrote:
> I'm trying to override the main layout but the gem is actually using other gems together as a group so there's a separate gem for vendor Within the vendor gem can be found app/views but within my main app the question is what should the path to overrides be vendor/app/views or app/views/vendor
>
> Thanks Walter spree_frontend-3.6.6
Okay, so you are trying to mount a replacement for something in spree/frontend/app/views/spree/layouts. To shadow over that path from your app, you will want to make a new directory at [your_project]/app/views/spree/layouts. Put whichever replacement layout file you want in that folder, and that's it -- no step three.
Walter
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/F70544C9-F22B-4F4A-BE08-62506DF618C2%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment