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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16e84fc7ba404ed82a8945ad1495498a03c3f2eb
4
- data.tar.gz: dd9ac538f9700cf0c03b3ce82ce1c4a23601c7e6
3
+ metadata.gz: 7a92e72e60b07a6aeef2fc292f56af2f4f32d08d
4
+ data.tar.gz: 8e0be857d0df2452c9d09e498889a5b56803debf
5
5
  SHA512:
6
- metadata.gz: 538bba2499246d2d1207729d7646812256781829259843814200232075fade6afd9f8eac4393e9f77d06aabb5322d1fe062b66cdaf776bda64d06837ac488965
7
- data.tar.gz: 2da147dda13d145808a6543a17779d0eecca85d211af52a776fbba5bbf64af8ae7eb83c8fcf6fa355edfa276adf14245f572825cf2b7750623e212fd9d2b7cd1
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 defined? Buttercms.configuration.layout
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
@@ -1,3 +1,3 @@
1
1
  module Buttercms
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buttercms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ButterCms