On Monday, January 7, 2019 at 8:35:45 PM UTC-5, Walter Lee Davis wrote: > > > > On Jan 7, 2019, at 7:50 PM, fugee ohu <fuge...@gmail.com <javascript:>> > 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
Why is frontend omitted from the path ? -- 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+unsubscr...@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/786a7cdf-443b-4f7b-973c-531d921a6252%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.