Skip to content

Instantly share code, notes, and snippets.

@dimohamdy
Created April 6, 2019 09:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dimohamdy/0aec52d5a0e217cc7d3398a2feb01ca9 to your computer and use it in GitHub Desktop.
Save dimohamdy/0aec52d5a0e217cc7d3398a2feb01ca9 to your computer and use it in GitHub Desktop.
import Vapor
/// Register your application's routes here.
public func routes(_ router: Router) throws {
let imageResizeController = ImageResizeController()
try router.register(collection: imageResizeController)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment