effective_organizations 0.2.0 → 0.2.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d52be5a66c34f0aa18c767a06ed30d2cd231b43ab13e1366cc7ef2a3531ef89
|
4
|
+
data.tar.gz: ba7b2680295717d510f5cc086c0588cb6048eab03afdc3d495974dbd4d8d57e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eabee3b007990c185848082fe175b205ae8b666a9f5b183e377aead04285146e0efcbf4b7c9848cbd6b9f9ccca5aa26dbd6f9d4ce3902841c5add09d76df1a19
|
7
|
+
data.tar.gz: 5cc20f6f1370f40cd0c00c990df1c40deec55434b54726a780a7536a92b3c4116df8e59ad2818772b5f5d7108bb8ddb4aafb70cc1d3b8dcf24753e953b439763
|
@@ -6,7 +6,7 @@ EffectiveOrganizations.setup do |config|
|
|
6
6
|
# Configure the Layout per controller, or all at once
|
7
7
|
# config.layout = { application: 'application', admin: 'admin' }
|
8
8
|
|
9
|
-
#
|
9
|
+
# Organization Settings
|
10
10
|
# Configure the class responsible for the organization.
|
11
11
|
# config.organization_class_name = 'Effective::Organization'
|
12
12
|
end
|
data/config/routes.rb
CHANGED
@@ -12,7 +12,11 @@ EffectiveOrganizations::Engine.routes.draw do
|
|
12
12
|
end
|
13
13
|
|
14
14
|
namespace :admin do
|
15
|
-
resources :organizations, except: [:show]
|
15
|
+
resources :organizations, except: [:show, :destroy] do
|
16
|
+
post :archive, on: :member
|
17
|
+
post :unarchive, on: :member
|
18
|
+
end
|
19
|
+
|
16
20
|
resources :representatives, except: [:show]
|
17
21
|
end
|
18
22
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_organizations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|