comfy/comfy-blog

NameError in Blog Posts form tab

emanueln opened this issue · 2 comments

Expected behavior

Admin Blog Posts tab should open form after template has been created

Actual behavior

Blog Posts returns Rails error
NameError in Comfy::Admin::Blog::Posts#new
screen shot 2018-04-10 at 2 13 30 pm

I should note that when a layout is not defined a form renders but I can't edit content (makes sense)
screen shot 2018-04-10 at 2 18 22 pm

Steps to reproduce

Create a new Rails project
Install comfortable_mexican_sofa as per instructions
Install comfy_blog as per instructions
Start server and head to admin panel
Create a site
Create new layout with default Application layout
Click on Blog Posts in admin panel

System configuration

Rails version: 5.2.0.rc2

CMS version: 2.0.13

comfy-blog version: 2.0.5

Ruby version: 2.5.1

OS: macOS High Sierra 10.13.4

GBH commented

Thanks for the report. I probably changed something on CMS that borked Blog. Will fix.

GBH commented

CMS v2.0.13 did some changes to how that form is rendered and I never checked if Blog still worked. It's fixed. Grab Blog v2.0.6