Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
Add API doc
Browse files Browse the repository at this point in the history
  • Loading branch information
siemensikkema committed Jun 20, 2018
1 parent d67df3a commit 43d8233
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Sources/Sugar/Helpers/Leaf/LeafTagConfig.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import Leaf

public extension LeafTagConfig {
/// Register multiple tags using the keys as their names.
///
/// - Parameter list: Map of names to tags.
public mutating func use(_ list: [String: TagRenderer]) {
for item in list {
self.use(item.value, as: item.key)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Leaf
/// This is a workaround for not being able to mutate `Leaf`'s `LeafTagConfig`.
/// - See: https://github.com/vapor/leaf/pull/113.
public final class MutableLeafTagConfigProvider: Provider {

/// Creates an `MutableLeafTagConfigProvider`.
public init() {}

Expand Down

0 comments on commit 43d8233

Please sign in to comment.