You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found what's going on. For some reason slim isn't being added to ActionView::Template::Handlers.extensions. Interesting that it's rendering okay outside of Sitepress.
When this runs, it's not there and Sitepress doesn't register any .slim pages.
I'm using slim in the project and the slim layouts render fine, but if I add a page
content/pages/test-slim.html.slim
Going to
/test-slim.html
goes to not found / no route matches.Going to
/test-slim.html.slim
downloads the file.I'm using 4.0.2 with markdown set up (works, as well as erb).
Rails 7.1.0
Installed following the docs, but I did have to override the controller to skip some actions I have in
ApplicationController
.Another interesting thing, it shows up in
PageModel.all
and links to it, but with the.slim
extension.Any idea what I'm missing?
The text was updated successfully, but these errors were encountered: