aboutsummaryrefslogtreecommitdiff
path: root/src/guff/api-content-type.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/api-content-type.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/api-content-type.cr')
-rw-r--r--src/guff/api-content-type.cr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guff/api-content-type.cr b/src/guff/api-content-type.cr
index 9b6c74a..d6e1f83 100644
--- a/src/guff/api-content-type.cr
+++ b/src/guff/api-content-type.cr
@@ -6,7 +6,7 @@ module Guff
}
private def get_content_type
- CONTENT_TYPES[@model.config["environment"]]
+ CONTENT_TYPES[@models.config["environment"]]
end
end
end