def prepare_locals(params)
      locals = params.delete(:locals) || {}
      prepared_parameters = prepare_parameters(params)
      locals.merge\
        notification: self,
        controller:   ActivityNotification.get_controller,
        parameters:   prepared_parameters
    end
def prepare_locals(params)
      locals = params.delete(:locals) || {}
      prepared_parameters = prepare_parameters(params)
      locals.merge\
        notification: self,
        controller:   ActivityNotification.get_controller,
        parameters:   prepared_parameters
    end
Returns locals parameter for view
 There are three variables to be add by method:
 * notification
 * controller
 * parameters [converted into a HashWithIndifferentAccess]

 @param [Hash] params Parameters to add parameters at locals
 @return [Hash] locals parameter