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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08c77c59d3451a65aacd650d5f506439340882d31a663b717840e407e96d95a0'
4
- data.tar.gz: a532d12cb6cc88e340d15eed060cc7b9c73f2545d143eccf21fc9447b1c97636
3
+ metadata.gz: 0e5c934c9d432283a84fd8eb80b2f547b1dd94346e0de9ae3ceb9ef1d5736e35
4
+ data.tar.gz: 2e7d03165f7d20a2f0f44540b6c0dd6508d25813d65a33c0c62fea84cfeab241
5
5
  SHA512:
6
- metadata.gz: ae9240ee6cf63ffa272d376a87dd1f7c38ad8b578cf60e2cf588145526389b4276f2d2159655c21ed1ef8947246b69e4f9d73b875bc8e1439e334ea1f1a991b4
7
- data.tar.gz: 5b91f2d6ad69728a327e5946db2a9a8db4dd42e1d7cf0777e7b2c219a1da0c29b30183a8cd34ae1c1f163bcdefc6b2a16463fe26effb7b87fce53c3fde167648
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
 
@@ -1,3 +1,3 @@
1
1
  module EffectivePosts
2
- VERSION = '2.9.2'.freeze
2
+ VERSION = '2.9.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_posts
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.2
4
+ version: 2.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect