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

Created endpoint for page not found #773

Merged

Conversation

jpac-run
Copy link
Contributor

@jpac-run jpac-run commented Feb 5, 2018

Closes #772

…to take out access to some page by the user
@owen2345 owen2345 merged commit 5df9308 into owen2345:master Feb 5, 2018
@owen2345
Copy link
Owner

owen2345 commented Feb 5, 2018

I think you missed the route or how will it work?

@jpac-run
Copy link
Contributor Author

jpac-run commented Feb 5, 2018

Example: in a routes.rb of you application, you can do it like this

get '/page', to: 'camaleon_cms/frontend#render_page_not_found'

@owen2345
Copy link
Owner

owen2345 commented Feb 5, 2018

ohhh ok, I got it!

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

Successfully merging this pull request may close these issues.

2 participants