aboutsummaryrefslogtreecommitdiff
path: root/src/guff/run.cr
diff options
context:
space:
mode:
Diffstat (limited to 'src/guff/run.cr')
-rw-r--r--src/guff/run.cr6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guff/run.cr b/src/guff/run.cr
index 90afbae..37ff8b3 100644
--- a/src/guff/run.cr
+++ b/src/guff/run.cr
@@ -7,10 +7,10 @@ module Guff
# parse env and cli options
config = Config.new(app, args)
- # create model
- model = Model.new(config)
+ # create model mapper
+ models = Models.new(config)
# create and run server
- Server.run(model)
+ Server.run(models)
end
end