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 +4 -4
- data/app/controllers/caboose/posts_controller.rb +2 -2
- data/lib/caboose/version.rb +1 -1
- 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: 92965bdaf8d045e2218267b37b2248599f2aa9f0
|
4
|
+
data.tar.gz: 414d066fcc14ec05e1c162fbe9c757f2255520f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 = "
|
24
|
-
@post = Post.where(:site_id => @site.id, :uri =>
|
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?
|
data/lib/caboose/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2017-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|