Permalink
Browse files

Use c.Name instead of c.Type.Type.Name() a second time

  • Loading branch information...
pix64 committed Jun 11, 2013
1 parent 1342d8e commit 94317fe784468b51c9099173997b7219ce447df1
Showing with 1 addition and 1 deletion.
  1. +1 −1 controller.go
View
@@ -223,7 +223,7 @@ func (c *Controller) SetAction(controllerName, methodName string) error {
}
c.Name, c.MethodName = c.Type.Type.Name(), methodName
- c.Action = c.Type.Type.Name() + "." + c.MethodName
+ c.Action = c.Name + "." + c.MethodName
// Instantiate the controller.
c.AppController = initNewAppController(c.Type.Type, c).Interface()

0 comments on commit 94317fe

Please sign in to comment.