buttercms 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/buttercms/application_controller.rb +2 -1
- data/lib/buttercms/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a92e72e60b07a6aeef2fc292f56af2f4f32d08d
|
4
|
+
data.tar.gz: 8e0be857d0df2452c9d09e498889a5b56803debf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13f3e71b4a4d21f2bec5b869868af5a8f8be16453404ba49390477c1a6b87f80cc9d3205fc2892c277f607e9df57aafc94e4e19d5b3a50fcef70284d4937bfca
|
7
|
+
data.tar.gz: 812be2e997b4dc9b9283df67a26a001f4df1f19ae275b7423150ca46bf953aad5f0923457debdb4ce0ad0a1a8d023449dd8322f9aff0430e769c1e5f36760ff1
|
@@ -4,12 +4,13 @@ module Buttercms
|
|
4
4
|
|
5
5
|
def get_layout
|
6
6
|
if defined? Buttercms.configuration
|
7
|
-
if
|
7
|
+
if !Buttercms.configuration.layout.nil?
|
8
8
|
return Buttercms.configuration.layout
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
12
|
# Default to the included layout.
|
13
|
+
return "buttercms/application"
|
13
14
|
end
|
14
15
|
end
|
15
16
|
end
|
data/lib/buttercms/version.rb
CHANGED