Skip to content
Browse files

Fix build failure

  • Loading branch information...
1 parent 330a25f commit 1342d8e84edf5c2ee97738ea0e880f244fb0a98e @pix64 pix64 committed Jun 11, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 controller.go
View
4 controller.go
@@ -222,8 +222,8 @@ func (c *Controller) SetAction(controllerName, methodName string) error {
return errors.New("revel/controller: failed to find action " + methodName)
}
- c.Name, c.MethodName = c.Type.Name(), methodName
- c.Action = c.Type.Name() + "." + c.MethodName
+ c.Name, c.MethodName = c.Type.Type.Name(), methodName
+ c.Action = c.Type.Type.Name() + "." + c.MethodName
// Instantiate the controller.
c.AppController = initNewAppController(c.Type.Type, c).Interface()

0 comments on commit 1342d8e

Please sign in to comment.
Something went wrong with that request. Please try again.