aboutsummaryrefslogtreecommitdiff
path: root/src/guff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-03-06 17:31:44 -0500
committerPaul Duncan <pabs@pablotron.org>2016-03-06 17:31:44 -0500
commit5771ff1b239f8452a718cebcc2cf8ae49a93b3a9 (patch)
treefba4a73d7021c24137dda3bbb360efc5f6067ab7 /src/guff
parentb1395163fa45ed788af4d2d003c1dd49846d86ee (diff)
downloadold-guff-5771ff1b239f8452a718cebcc2cf8ae49a93b3a9.tar.bz2
old-guff-5771ff1b239f8452a718cebcc2cf8ae49a93b3a9.zip
add stub post and tag models
Diffstat (limited to 'src/guff')
-rw-r--r--src/guff/model.cr9
-rw-r--r--src/guff/post-model.cr4
-rw-r--r--src/guff/tag-model.cr4
3 files changed, 8 insertions, 9 deletions
diff --git a/src/guff/model.cr b/src/guff/model.cr
index ef1b457..823d33b 100644
--- a/src/guff/model.cr
+++ b/src/guff/model.cr
@@ -1,15 +1,6 @@
-require "./database"
-require "./database-updater"
-
module Guff
class Model
def initialize(@models : Models)
end
end
-
- class PostModel < Model
- end
-
- class TagModel < Model
- end
end
diff --git a/src/guff/post-model.cr b/src/guff/post-model.cr
new file mode 100644
index 0000000..20ccf22
--- /dev/null
+++ b/src/guff/post-model.cr
@@ -0,0 +1,4 @@
+module Guff
+ class PostModel < Model
+ end
+end
diff --git a/src/guff/tag-model.cr b/src/guff/tag-model.cr
new file mode 100644
index 0000000..311a4b5
--- /dev/null
+++ b/src/guff/tag-model.cr
@@ -0,0 +1,4 @@
+module Guff
+ class TagModel < Model
+ end
+end