func (c *CodebaseController) Show(ctx *app.ShowCodebaseContext) error {
	return application.Transactional(c.db, func(appl application.Application) error {
		c, err := appl.Codebases().Load(ctx, ctx.CodebaseID)
		if err != nil {
			return jsonapi.JSONErrorResponse(ctx, goa.ErrNotFound(err.Error()))
		}

		res := &app.CodebaseSingle{}
		res.Data = ConvertCodebase(ctx.RequestData, c)

		return ctx.OK(res)
	})
}
// Show runs the show action.
Show runs the show action.
// Show runs the show action .
func (c *CodebaseController) Show(ctx *app.ShowCodebaseContext) error {
	return application.Transactional(c.db, func(appl application.Application) error {
		c, err := appl.Codebases().Load(ctx, ctx.CodebaseID)
		if err != nil {
			return jsonapi.JSONErrorResponse(ctx, goa.ErrNotFound(err.Error()))
		}
		res := &app.CodebaseSingle{}
		res.Data = ConvertCodebase(ctx.RequestData, c)
		return ctx.OK(res)
	})
}
func ( c * CodebaseController ) Show ( ctx * app . ShowCodebaseContext ) error { return application . Transactional ( c . db , func ( appl application . Application ) error { c , err := appl . Codebases ( ) . Load ( ctx , ctx . CodebaseID ) if err != nil { return jsonapi . JSONErrorResponse ( ctx , goa . ErrNotFound ( err . Error ( ) ) ) } res := & app . CodebaseSingle { } res . Data = ConvertCodebase ( ctx . RequestData , c ) return ctx . OK ( res ) } ) }
Show runs the show action.
Show runs the show action .