def params(method_or_path, options = {})
      method_or_path = method_or_path.to_s
      [
        path_for(method_or_path, options),
        options_for(method_or_path, options)
      ]
    end
def params(method_or_path, options = {})
      method_or_path = method_or_path.to_s
      [
        path_for(method_or_path, options),
        options_for(method_or_path, options)
      ]
    end
Return node route params which can be used in Rails route options

 @param method_or_path [String] string with action and controller for route (Ex. home#index)
 @param options [Hash] options to merge with internally built params. Passed params overrides route params.
 @return [Hash] route options. Will return at least node "node_id" and "locale" keys.