-
Notifications
You must be signed in to change notification settings - Fork 7
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
NoMethodError in Comfy::Admin::Cms::Layouts#new #1
Comments
Do you mind tell me the steps you took to arrive at this error? I'm a bit confused about "installing Sofa and setting up demo site". This repo already has everything setup so it's just a matter of:
Error you're getting looks like missing routing helper or |
Sorry, that wasn't clear. I started a fresh Rails installation beginning with Step 1 (I assumed this was a guided to setting up my own demo application, as implied in the opening paragraph). |
That's right. So one thing I can think of is something going on in your routes.rb file. Mind posting what's in there? |
Sure, thing.
|
Seems like you're missing blog routes. Should look something like this: https://github.com/comfy/comfy-demo/blob/master/config/routes.rb |
Did that resolve your issue? Also I'm curious why blog routes didn't make it in. Blog generator should've put them in there, |
This corrected the issue for me. However, after adding the routes I could not name my site "Demo" (it complained that the I'm just a junior developer, so I won't presume to know here, but I noticed that Rails is automatically running Thanks again for all your effort on this project! It's my first experiments with a Rails CMS and I like it much better than the others I've found. Would you also consider PR's for the directions in the README? I'm a native English speaker and could make some very small suggestions that might help it read a little more naturally. |
That's odd about If you have suggestions in mind, feel free to submit PRs! |
After installing Sofa, when I try to setup a new demo site I'm getting this error:
The text was updated successfully, but these errors were encountered: