the 'solidus_static_content' gem is not an option ...
# general
e
the 'solidus_static_content' gem is not an option for me!
c
Your Solidus store is just a Rails app, you can just create new controllers/actions/views for your static pages like you would in any Rails app. On the store I work on we have a controller dedicated to static pages and every new page has an action on that controller. If you don’t need to create routes dynamically then it should be as simple as that.
b
Hi @Estefano Vilela Zarate. I've done it like @Chris Todorov. Inside the views folder I've created a folder named static pages. And inside it I've created all the static views...
I've created a new
static_pages_controller.rb
in the controllers folder. And I've populated with all the actions....
And I've added all the routes to the
routes.rb
file...
I hope this will help you. Be careful; I'm not a professional. My code might not be the best.
I rectify; my code is not the best. Ha ha ha!