0001    /**
0002     * Organize your routing logic with a conformance of
0003     * `Controller`. Controls group related route logic into
0004     * a single protocol that, by default, conforms to standard
0005     * CRUD operations.
0006     */
0007    public protocol Controller
Application+Route.swift:80
    public final func resource(path: String, controller: Controller) {
{ 0008 /// Display many instances 0009 func index
Application+Route.swift:94
        self.get(shortPath, handler: controller.index)
(request: Request) throws -> ResponseConvertible 0010 0011 /// Create a new instance. 0012 func store
Application+Route.swift:95
        self.post(shortPath, handler: controller.store)
(request: Request) throws -> ResponseConvertible 0013 0014 /// Show an instance. 0015 func show
Application+Route.swift:98
        self.get(fullPath, handler: controller.show)
(request: Request) throws -> ResponseConvertible 0016 0017 /// Update an instance. 0018 func update
Application+Route.swift:99
        self.put(fullPath, handler: controller.update)
(request: Request) throws -> ResponseConvertible 0019 0020 /// Delete an instance. 0021 func destroy
Application+Route.swift:100
        self.delete(fullPath, handler: controller.destroy)
(request: Request) throws -> ResponseConvertible 0022 } 0023