caboose-cms 0.9.69 → 0.9.70

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: 831370d428d4a0786206a9f5b8e54526ff3f9c39
4
- data.tar.gz: a01277ddc1bb65442d2ca545bb05fbfbf7e3abcf
3
+ metadata.gz: 92965bdaf8d045e2218267b37b2248599f2aa9f0
4
+ data.tar.gz: 414d066fcc14ec05e1c162fbe9c757f2255520f4
5
5
  SHA512:
6
- metadata.gz: a58535527e87f529273d0899fa31a3723190cf6cbc640eb5b4edf9371a5b3dd45ef529ee7c7c999b65954ba8d0cfc4e7100d981187fe09708c62e2504cf35bc2
7
- data.tar.gz: 4b2f1c9ff9053eb199c3da28fa9a5346c499b7d395ce61cffbdc016f22be88da4f9af0d7d1f51aaeab9d5e71b8aab0f779a8feac74909e55c5222f5e692d7522
6
+ metadata.gz: 8efedb84c9eb9548d10dfe20d806108f1d56385b2d084c8db7403c5b131c29a39e8ade713a04d98b40092be44192fd58bd9251033bb311984764708b2b85534c
7
+ data.tar.gz: ec5d9424298215e0edb274ad00bb2a715acf64f539caf5fb10fec835d8593dd7e08c0e446d5e8933a27d0eda2be54ecc014c9448b6f5968668547193244fe60f
@@ -20,8 +20,8 @@ module Caboose
20
20
  # render :layout => "caboose/application"
21
21
  else
22
22
  # Find the page with an exact URI match
23
- uri = "#{params[:year]}/#{params[:month]}/#{params[:day]}/#{params[:slug]}"
24
- @post = Post.where(:site_id => @site.id, :uri => request.fullpath).first
23
+ uri = "/posts/#{params[:year]}/#{params[:month]}/#{params[:day]}/#{params[:slug]}"
24
+ @post = Post.where(:site_id => @site.id, :uri => uri).first
25
25
  # render :layout => "caboose/application"
26
26
  end
27
27
  render :file => "caboose/extras/error404" and return if @post.nil?
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.69'
2
+ VERSION = '0.9.70'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.69
4
+ version: 0.9.70
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-24 00:00:00.000000000 Z
11
+ date: 2017-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg