Replies: 3 comments 2 replies
-
Thanks for trying out Bud @lucky-bit! I'd like to add support for this, but it will be more about specifying a file format, e.g. One other question:
I'm assuming you defined this in the |
Beta Was this translation helpful? Give feedback.
-
Hey @matthewmueller!
No manual work, route created using bud new controller |
Beta Was this translation helpful? Give feedback.
-
Ah, that's an interesting one. So basically At first glance, I'd probably follow what Rails decided to do in this case. Maybe that means defining a custom route? (Converting this to a discussion since it's currently working as expected, though we might want to change this) |
Beta Was this translation helpful? Give feedback.
-
router.Get(
/:id
, controller.Show)// Show page
// GET /:id
func (c *Controller) Show(ctx context.Context, id string) (story *Story, err error) {
===> 404 page not found
Beta Was this translation helpful? Give feedback.
All reactions