caboose-cms 0.9.46 → 0.9.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f5e900afbb5c23ac007b1169cf8372b78aaa663
4
- data.tar.gz: 1b882f005892a0a85f132d77d40e06e5cb205956
3
+ metadata.gz: ced7d6180dbf09389865221d0adb11df19c5210a
4
+ data.tar.gz: cd394f3842aa057091d39f3256d97f8ce11a6500
5
5
  SHA512:
6
- metadata.gz: 609840c9b65abd91007bebfde356a3abf74d3f4efe396345092570fbc322ecdcf248294555cb2487c0b528079d748982e5e56cc249f783bc9408ec09c7b2bc4e
7
- data.tar.gz: b3560befbc405e208a55c16cf73f5073bb6508f27d1a920383f4758549175b2d4f321644d7fb95fc4ee8a03810d13f026f774b8ca92069c087a3694c3940ff9c
6
+ metadata.gz: 4dd89ab972a1da5e0123a938f84d8561dfdac153d800d52ad0e1d3bf1ea2be7a05eed06c83c0dbeb0d54f3c29bdef67ed937ecc75581ad4d3f16944d1cac2f61
7
+ data.tar.gz: 66664249934510812b2a1847f32742f5f0544144c65f3d6ca88844fec9a5fefcbaaea9e79cf92585cc320a4623d2034f0dde005ad125c484d91310e459fc9c2c
@@ -18,10 +18,12 @@ module Caboose
18
18
 
19
19
  if params[:id]
20
20
  @post = Post.where(:id => params[:id]).first
21
+ render :layout => "caboose/application"
21
22
  else
22
23
  # Find the page with an exact URI match
23
24
  uri = "#{params[:year]}/#{params[:month]}/#{params[:day]}/#{params[:slug]}"
24
25
  @post = Post.where(:site_id => @site.id, :uri => request.fullpath).first
26
+ render :layout => "caboose/application"
25
27
  end
26
28
  render :file => "caboose/extras/error404" and return if @post.nil?
27
29
 
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.46'
2
+ VERSION = '0.9.47'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.46
4
+ version: 0.9.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry