Permalink
Browse files

2.10: Help type system

  • Loading branch information...
1 parent dda36c8 commit 6b9a859c752d5f7921ce1a0e6fab59738332e55f @nafg nafg committed Sep 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 persistence/mapper/src/main/scala/net/liftweb/mapper/view/ModelView.scala
@@ -64,7 +64,7 @@ trait ModelSnippet[T <: Mapper[T]] extends StatefulSnippet {
def load(entity: T) = view.entity = entity
- def dispatch = {
+ def dispatch: DispatchIt = {
case "list" => list _
case "edit" => edit _
case "newOrEdit" => view.newOrEdit _

0 comments on commit 6b9a859

Please sign in to comment.