func (imgCtrl *ImageController) Prepare() {
	imageID = imgCtrl.Ctx.Input.Param(":splat")
}
Prepare - Format path before exec real action
package controllers
import "github.com/docker/docker/api/types"
import "github.com/docker/docker/client"
import "github.com/humpback/common/models"
import "golang.org/x/net/context"
import (
	"encoding/json"
	"fmt"
	"io"
	"strings"
	"time"
)
type ImageController struct {
	baseController
}
var imageID string