ruby on rails - Change spree application layout file to load -
Is it possible to use my own application layout file instead of Spry instead of my main tracks app? My main app has already been setup with the device and after that the use of the added competing lover Frontend
frontend / app / view / spree / layout / spree_page.html. ARB
is in its own gem as its layout and I read how to override that file in app / override
or define itself, But I do not want to duplicate content already in my app / views / layout / application.html.erb
.
I am looking to use my own file instead or
You have 2 options:
- In your Rail app, a
app / view / spree / layout / spree_page.HTML. Create ARB
and the train will choose your file -
Set your own layout with a launcher in config [: layout]
(ex:Spree: config [: layout] = 'app'
)
Comments
Post a Comment