Merge pull request #93 from sammarten/remove-redudant-route-gen

Remove redundant route generation
This commit is contained in:
Ryan Haskell-Glatz 2021-06-20 21:53:44 -05:00 committed by GitHub
commit 3d54545e9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,6 @@ const createGeneratedFiles = async () => {
{ filepath: ['Page'], contents: PageTemplate() }, { filepath: ['Page'], contents: PageTemplate() },
{ filepath: ['Request'], contents: RequestTemplate() }, { filepath: ['Request'], contents: RequestTemplate() },
{ filepath: ['Gen', 'Route'], contents: RouteTemplate(segments, options(kindForPage)) }, { filepath: ['Gen', 'Route'], contents: RouteTemplate(segments, options(kindForPage)) },
{ filepath: ['Gen', 'Route'], contents: RouteTemplate(segments, options(kindForPage)) },
{ filepath: ['Gen', 'Pages'], contents: PagesTemplate(segments, options(kindForPage)) }, { filepath: ['Gen', 'Pages'], contents: PagesTemplate(segments, options(kindForPage)) },
{ filepath: ['Gen', 'Model'], contents: ModelTemplate(segments, options(kindForPage)) }, { filepath: ['Gen', 'Model'], contents: ModelTemplate(segments, options(kindForPage)) },
{ filepath: ['Gen', 'Msg'], contents: MsgTemplate(segments, options(kindForPage)) } { filepath: ['Gen', 'Msg'], contents: MsgTemplate(segments, options(kindForPage)) }