thredded 0.16.6 → 0.16.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/controllers/thredded/moderation_controller.rb +2 -2
- data/lib/thredded/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e14701ac4e7b6771dcee3b9f69a724f45ab735c2e2df8a1310112a03dc298e73
|
4
|
+
data.tar.gz: 1697f4a81c56b3d6187b17fa567d8e0bc4d61cad423eb9bcc33ab6238e9b4e42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38d0635f57eea720d944a8a95f3d4f00e7969b00b3f4868652c950cd06ccb0be1777662eddb9276ea0a84389800a1db377606acd1eddf923fca8a01cdbf4c57a
|
7
|
+
data.tar.gz: 4886fabf2f478b85b4bcb7cfacc5cbaa64d8381a8d40b12175f3cd8c275e3dcd5fb62eec4345566413dc733d8865778fa8e384e84f5b2dfef1b2c171c04398cc
|
data/README.md
CHANGED
@@ -95,7 +95,7 @@ Then, see the rest of this Readme for more information about using and customizi
|
|
95
95
|
Add the gem to your Gemfile:
|
96
96
|
|
97
97
|
```ruby
|
98
|
-
gem 'thredded', '~> 0.16.
|
98
|
+
gem 'thredded', '~> 0.16.7'
|
99
99
|
```
|
100
100
|
|
101
101
|
Add the Thredded [initializer] to your parent app by running the install generator.
|
@@ -8,7 +8,7 @@ module Thredded
|
|
8
8
|
def pending
|
9
9
|
@posts = Thredded::PostsPageView.new(
|
10
10
|
thredded_current_user,
|
11
|
-
preload_posts_for_moderation(moderatable_posts.pending_moderation).
|
11
|
+
preload_posts_for_moderation(moderatable_posts.pending_moderation).order_oldest_first
|
12
12
|
.send(Kaminari.config.page_method_name, current_page)
|
13
13
|
.preload_first_topic_post
|
14
14
|
)
|
@@ -24,7 +24,7 @@ module Thredded
|
|
24
24
|
def activity
|
25
25
|
@posts = Thredded::PostsPageView.new(
|
26
26
|
thredded_current_user,
|
27
|
-
preload_posts_for_moderation(moderatable_posts).
|
27
|
+
preload_posts_for_moderation(moderatable_posts).order_newest_first
|
28
28
|
.send(Kaminari.config.page_method_name, current_page)
|
29
29
|
.preload_first_topic_post
|
30
30
|
)
|
data/lib/thredded/version.rb
CHANGED