diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-03-08 17:12:46 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-03-08 17:12:46 -0500 |
commit | d5f49eee6c08bda1dad31bc906f54e44737e843f (patch) | |
tree | 0aa984fb37197112c396de10ffbf4a05dc8ee041 | |
parent | 8989c5b2601028f575211d7443c7c082b122079e (diff) | |
download | old-guff-d5f49eee6c08bda1dad31bc906f54e44737e843f.tar.bz2 old-guff-d5f49eee6c08bda1dad31bc906f54e44737e843f.zip |
mv src/guff/{,models/}*-model.cr
-rw-r--r-- | src/guff/models.cr | 2 | ||||
-rw-r--r-- | src/guff/models/post.cr (renamed from src/guff/post-model.cr) | 0 | ||||
-rw-r--r-- | src/guff/models/site.cr (renamed from src/guff/site-model.cr) | 0 | ||||
-rw-r--r-- | src/guff/models/tag.cr (renamed from src/guff/tag-model.cr) | 0 |
4 files changed, 1 insertions, 1 deletions
diff --git a/src/guff/models.cr b/src/guff/models.cr index 0e09752..52437d4 100644 --- a/src/guff/models.cr +++ b/src/guff/models.cr @@ -1,6 +1,6 @@ require "./database" require "./database-updater" -require "./site-model" +require "./models/*" private macro define_model_getters(hash) {% for name, klass in hash %} diff --git a/src/guff/post-model.cr b/src/guff/models/post.cr index 580a9b7..580a9b7 100644 --- a/src/guff/post-model.cr +++ b/src/guff/models/post.cr diff --git a/src/guff/site-model.cr b/src/guff/models/site.cr index 9c8899a..9c8899a 100644 --- a/src/guff/site-model.cr +++ b/src/guff/models/site.cr diff --git a/src/guff/tag-model.cr b/src/guff/models/tag.cr index 997cdfd..997cdfd 100644 --- a/src/guff/tag-model.cr +++ b/src/guff/models/tag.cr |