 					print("[LightRoute]: Transition error, navigation controller was nil.")
 					return
 				}
-				
+                
 				switch navCase {
 				case .pop:
 					navController.popToViewController(destination, animated: animated)
+                case .popToRoot:
+                    navController.popToRootViewController(animated: animated)
 				case .present:
 					navController.present(destination, animated: animated, completion: nil)
 				case .push:
 					navController.pushViewController(destination, animated: animated)
 				}
-				
+                
 			case .default:
 				root.present(destination, animated: animated, completion: nil)
 			}

    
    
    ///
    /// Methods close current module.
    ///
    /// - parameter animated: Transition animate state.
    ///
    func closeModule(animated: Bool)
    
    
    ///
    /// Methods close all modules in Navigation Controller stack.
    ///
    /// - parameter animated: Transition animate state.
    ///
    func closeModulesInStack(animated: Bool)
}



	
	/// This case performs that current transition must be present.
	case present
    
    /// This case performs that current transition must be pop to root.
    case popToRoot
}


