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

Categories index view has no access to SpinaCMS default layout #20

Open
wojtasss opened this issue Oct 23, 2020 · 3 comments
Open

Categories index view has no access to SpinaCMS default layout #20

wojtasss opened this issue Oct 23, 2020 · 3 comments

Comments

@wojtasss
Copy link

When go to category link for example "http://localhost:3000/blog/categories/howto" where "Howto" I manually created category the spina/blog/categories/index.html.haml hasn't access to default application layout, can I somehow inject it?

@wojtasss wojtasss changed the title No access to SpinaCMS default layout Categories index view has no access to SpinaCMS default layout Oct 23, 2020
@simmerz
Copy link
Member

simmerz commented Oct 25, 2020

Are you using spina_2_0 branch for spina 2.0 alpha release? If so, I've just committed a change that adds include ::Spina::Frontend to the controller. If you're using master branch, you might want to add that in a decorator for now.

@wojtasss
Copy link
Author

Hi thanks for response. I have used spina 2.0 alpha and spina_2_0 on spina-blog as you said but still no layout access. I have created app/views/spina/blog/categories/show.html.haml with some text for test and still no layout :(
Screenshot_2020-10-27_20-56-27

@aseroff
Copy link
Contributor

aseroff commented Sep 19, 2022

@wojtasss did #34 solve this issue?

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

3 participants