trusty-cms 2.0.18 → 2.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/controllers/admin/pages_controller.rb +1 -1
- data/lib/trusty_cms.rb +1 -1
- data/spec/dummy/log/test.log +4999 -0
- data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
- data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb1486896338018df5752ee3cc3195ed9ab1ba75
|
4
|
+
data.tar.gz: 40467a9b7b279112b6c2d32df8cbd20ef83b6039
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28e046ecf60ce66ff38ee626392035b1b1ac2554287d2ad882f521ed084b3d8d63624e4b28fd0d8486e74c04d9abf5be177651b528df6c3a8b4ea5f10432bd02
|
7
|
+
data.tar.gz: ac459c3b8e83a2fc56c95baa49b7e56e79842f372295de0ef596c605a9420bc83f2a4b3d4f4a622f79a982faf94ed20b8fe509c732108ea23943019b0e2a6909
|
data/Gemfile.lock
CHANGED
@@ -91,7 +91,7 @@ class Admin::PagesController < Admin::ResourceController
|
|
91
91
|
end
|
92
92
|
|
93
93
|
def verify_page_class(page_class)
|
94
|
-
if page_class.constantize.
|
94
|
+
if page_class.constantize.ancestors.include?(Page)
|
95
95
|
page_class.constantize
|
96
96
|
else
|
97
97
|
raise "I'm not allowed to constantize #{page_class}!"
|