github.com/bitcubate/cryptojournal@v1.2.5-0.20171102134152-f578b3d788ab/src/lib/templates/fragmenta_app/routes.go.tmpl (about)

     1  router.Get("/[[ .fragmenta_resources ]]", [[ .fragmenta_resource ]]actions.HandleIndex)
     2  router.Get("/[[ .fragmenta_resources ]]/create", [[ .fragmenta_resource ]]actions.HandleCreateShow)
     3  router.Post("/[[ .fragmenta_resources ]]/create", [[ .fragmenta_resource ]]actions.HandleCreate)
     4  router.Get("/[[ .fragmenta_resources ]]/{id:[0-9]+}/update", [[ .fragmenta_resource ]]actions.HandleUpdateShow)
     5  router.Post("/[[ .fragmenta_resources ]]/{id:[0-9]+}/update", [[ .fragmenta_resource ]]actions.HandleUpdate)
     6  router.Post("/[[ .fragmenta_resources ]]/{id:[0-9]+}/destroy", [[ .fragmenta_resource ]]actions.HandleDestroy)
     7  router.Get("/[[ .fragmenta_resources ]]/{id:[0-9]+}", [[ .fragmenta_resource ]]actions.HandleShow)