Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to access the CMS pages link in ruby project as well as contain of CMS in ruby project #3511

Open
bhavesh8000 opened this issue Feb 12, 2022 · 1 comment

Comments

@bhavesh8000
Copy link

Hello team!

Can anyone please help me out to get the Refinery CMS pages contain in my rail project's page view

One more thing is I was unable to access the cms page link in rails application header and same where I was in CMS pages I can not access the application's header menu any links are not working vise versa

We use refinery by installing the GEM its work like a charm to create CMS pages but now I wanted to access that created blogs created pages HTML in my rails application and wanted to use common header footer for rails app and CMS pages

Thank you for any insight on this

@anitagraham
Copy link
Contributor

The paths for pages come from refinery routes.
In your main app, config/routes.rb you wil have mounted the refinery engine at a mount point.
Refinery routes all descend (?) from that mount point.

Depending on your routing, you may access a page by its :slug as site.tld/slug.
If you are getting the links in a controller action, you need look at the refinery routes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants