effective_posts 2.9.2 → 2.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/routes.rb +3 -6
- data/lib/effective_posts/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: 0e5c934c9d432283a84fd8eb80b2f547b1dd94346e0de9ae3ceb9ef1d5736e35
|
4
|
+
data.tar.gz: 2e7d03165f7d20a2f0f44540b6c0dd6508d25813d65a33c0c62fea84cfeab241
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd581f9b701089d15cb65efd51d449da678dac52860ffefbe7bf62400221f4cf118b58ff584b07285ffe46be7f5d34e368c9a22bd81bd64d5a310828de475b2c
|
7
|
+
data.tar.gz: bd70bad9e560687f68101d3ed49ba7b98018053894326ad0dcf33728eee613761623b97f2e8affc3d1814dbf5cbe5064cfefd100b490c852777ed5c311f9d511
|
data/config/routes.rb
CHANGED
@@ -1,12 +1,9 @@
|
|
1
1
|
EffectivePosts::Engine.routes.draw do
|
2
|
+
acts_as_archived
|
3
|
+
|
2
4
|
namespace :admin do
|
3
|
-
resources :posts, except: [:show] do
|
5
|
+
resources :posts, except: [:show], concerns: :acts_as_archived do
|
4
6
|
post :approve, on: :member
|
5
|
-
|
6
|
-
post :archive, on: :member
|
7
|
-
post :unarchive, on: :member
|
8
|
-
post :bulk_archive, on: :collection
|
9
|
-
post :bulk_unarchive, on: :collection
|
10
7
|
end
|
11
8
|
end
|
12
9
|
|