controller suffix is now '/i.so' instead of 'i.so'

This commit is contained in:
Adrien Marquès 2018-07-08 10:10:29 +02:00
parent 4b9d64bc85
commit 4e51d59f2f
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func FetchFormData(req *http.Request) map[string]interface{} {
func (i *Request) LoadController(method string) (func(implement.Arguments, *implement.Response) implement.Response, error) { func (i *Request) LoadController(method string) (func(implement.Arguments, *implement.Response) implement.Response, error) {
/* (1) Build controller path */ /* (1) Build controller path */
path := fmt.Sprintf(".build/controller/%si.so", strings.Join(i.Path, "/")) path := fmt.Sprintf(".build/controller/%s/i.so", strings.Join(i.Path, "/"))
/* (2) Format url */ /* (2) Format url */
tmp := []byte(strings.ToLower(method)) tmp := []byte(strings.ToLower(method))