Closed JM00oo closed 6 years ago
This seems to be an issue with https://github.com/markbates/inflect/blob/master/inflect.go#L19 marking all instants of "post" as the acronym POST... not positive what the best way to move forward would be... @markbates what do you think?
That was my guess, but I’m traveling today, so I can’t look into it, but i know it probably shouldn’t. lol
-- Mark Bates On Jul 26, 2018, 9:26 AM +0200, Matthew Clark notifications@github.com, wrote:
This seems to be an issue with https://github.com/markbates/inflect/blob/master/inflect.go#L19 marking all instants of "post" as the acronym POST... not positive what the best way to move forward would be... @markbates what do you think? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
So do you have any idea to fix it? I would like to fix it, but I am not sure how to do it.
Steps to Reproduce the Problem
$ buffalo new demo && cd demo
$ buffalo g r post title content
$ buffalo db migrate
$ buffalo dev
Expected Behavior
I expect it will redirect to http://localhost:3000/posts/{post_id} and show the post I created.
Actual Behavior
I got
500 - ERROR!
page saying: posts/show.html: line 7: editPOSTPath: unknown identifier .... And I found that replacingeditPOSTPath
witheditPostPath
intemplate/post/index.html
andtemplate/post/show.html
can fix this issue.Info