github.com/segakazzz/buffalo@v0.16.22-0.20210119082501-1f52048d3feb/buffalo/cmd/filetests/generate_resource_nested_web.json (about)

     1  [{
     2      "path": "actions/admin_planes.go",
     3      "contains": [
     4        "type AdminPlanesResource struct",
     5        "func (v AdminPlanesResource)",
     6        "tx.Find(plane, c.Param(\"admin_plane_id\"))"
     7      ]
     8    },
     9    {
    10      "path": "actions/admin_planes_test.go",
    11      "contains": [
    12        "package actions",
    13        "Test_AdminPlanesResource_List"
    14      ]
    15    },
    16    {
    17      "path": "locales/admin/planes.en-us.yaml",
    18      "contains": [
    19        "translation: \"Plane was successfully created.\""
    20      ]
    21    },
    22    {
    23      "path": "templates/admin/planes/_form.plush.html",
    24      "contains": [
    25        "<button class=\"btn btn-success\" role=\"submit\">Save</button>"
    26      ]
    27    },
    28    {
    29      "path": "templates/admin/planes/index.plush.html",
    30      "contains": [
    31        "newAdminPlanesPath()"
    32      ]
    33    },
    34    {
    35      "path": "templates/admin/planes/show.plush.html",
    36      "contains": [
    37        "editAdminPlanePath({ admin_plane_id: plane.ID })"
    38      ]
    39    }
    40  ]