Skip to content

Commit

Permalink
Update name in Provider Error that was left over in fork
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim committed Oct 20, 2017
1 parent 7b2f97e commit bbf98df
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Sources/MarkdownProvider/Provider.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ import Vapor
import LeafProvider

public struct Provider: Vapor.Provider {

public static let repositoryName = "markdown-provider"

public func boot(_ drop: Droplet) {
guard let renderer = drop.view as? LeafRenderer else {
print("LeafMarkdown only supports Leaf as a renderer")
print("Markdown Provider only supports Leaf as a renderer")
return
}

renderer.stem.register(Markdown())
}

public init(config: Config) throws {}
public init() {}
public func boot(_ config: Config) throws {}
Expand Down

0 comments on commit bbf98df

Please sign in to comment.