github.com/JarrahG/buffalocli@v0.0.0-20230801092127-b85bfd5d395a/internal/cmd/generate/generate_resource_nested_web.json (about)

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