aboutsummaryrefslogtreecommitdiff
path: root/src/guff/run.cr
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-03-06 17:29:50 -0500
committerPaul Duncan <pabs@pablotron.org>2016-03-06 17:29:50 -0500
commitb1395163fa45ed788af4d2d003c1dd49846d86ee (patch)
tree39ba885f3a7d51836f13c59e1f6f6d01dc756071 /src/guff/run.cr
parent5a57a15f5e154b2e2dc312b1e92600449c6ca1f9 (diff)
downloadold-guff-b1395163fa45ed788af4d2d003c1dd49846d86ee.tar.bz2
old-guff-b1395163fa45ed788af4d2d003c1dd49846d86ee.zip
add model mapper and stub post and tag models
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