 #
 class Sirius.ControlFlow
 
-  # @param params [Object] - object from route
-  #
+  # @param params  [Object] - object from route
+  # @param wrapper [Function] - wrap action in this function, used for shared helpers between all controllers
   # `params` is a object with have a next keys `controller`, `action`, `before`, `after`, `data`, `guard`.
   # @note `controller` required
   # @note `action` required

#   }
#   my_logger = function(msg) { console.log("Log: " + msg); }
#
#   Sirius.Application({ route : routes, logger: my_logger, log: true, start: "#/" });
#
Sirius.Application =
  ###

    @logger  = options["logger"]  || @logger
    @start   = options["start"]   || @start

    for key, value of (options["controller_wrapper"] || {})
      @controller_wrapper[key] = value

    @hash_always_on_top = options["hash_always_on_top"] || @hash_always_on_top
    @use_hash_routing_for_old_browsers = options["use_hash_routing_for_old_browsers"] || @use_hash_routing_for_old_browsers
