tkh_content 0.10.5 → 0.10.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/app/controllers/blog_controller.rb +1 -1
- data/lib/tkh_content/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: 6519e3a1c0bd65d5eef54b4806c6638f87000608
|
4
|
+
data.tar.gz: d3c32c2ad29cae100e53d0deaea4d398c9624e78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b22044535310234efabefa7af69d060c7d828837959d9df4cde840d6049c7e17a9595d70e3016f1762e046d800bdffcccac1c9bf4ed6c5211a54df9915089c46
|
7
|
+
data.tar.gz: eda3fc3eaf7c8f23f8a2c981a48267b3c3afcf522b3953e4ace0e28990f7d4f3356f38340722cbf3c94090d17dc9bdf017acd02b971d6c764ec90805910584f3
|
data/CHANGELOG.md
CHANGED
@@ -10,7 +10,7 @@ class BlogController < ApplicationController
|
|
10
10
|
|
11
11
|
def by_tag
|
12
12
|
# this little hack is necessary because globalize won't let me access the tag directly by name
|
13
|
-
tag_id = Tag::Translation.find_by( locale: I18n.locale.to_s, name: params[:id] ).
|
13
|
+
tag_id = Tag::Translation.find_by( locale: I18n.locale.to_s, name: params[:id] ).tag_id
|
14
14
|
@tag = Tag.find(tag_id)
|
15
15
|
@posts = @tag.pages.published.order('published_at desc').paginate(:page => params[:page], :per_page => 20)
|
16
16
|
render :layout => 'blog'
|
data/lib/tkh_content/version.rb
CHANGED