parliament-routes 0.6.1 → 0.6.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 +12 -10
- data/lib/parliament/engine/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d556f05215da7ad95b785983fdff44ca31b2e4f
|
4
|
+
data.tar.gz: 62845cdec6ebca4f86184aaec08c81dfe4c8ee63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf644fa53e47bb2b67e2ac49dbc272dde94a0f934ac47bdef78abf8e2dc4334000dfb1d5ea6edb3e53a5300bdcdcc17103e6d3c9be4628ddff4f0b0905936cbe
|
7
|
+
data.tar.gz: bc8c8314149307db9c6c4d6baa26aa67e106801041236d392643839bc5a0ae3619c5c3c2a0c3b4e5144d2d6364e2a02644451d710b8f78ef8e97abd7b5d84bcb
|
data/config/routes.rb
CHANGED
@@ -28,6 +28,9 @@ Rails.application.routes.draw do
|
|
28
28
|
### Articles ###
|
29
29
|
get '/articles/:article_id', to: 'articles#show', article_id: id_format_regex, as: :article
|
30
30
|
|
31
|
+
### Questions ###
|
32
|
+
get '/questions/:question_id', to: 'questions#show', question_id: id_format_regex, as: :question
|
33
|
+
|
31
34
|
### Concepts ###
|
32
35
|
get '/concepts', to: 'concepts#index', as: :concepts
|
33
36
|
get '/concepts/:concept_id', to: 'concepts#show', as: :concept, concept_id: id_format_regex
|
@@ -390,20 +393,19 @@ Rails.application.routes.draw do
|
|
390
393
|
scope '/:group_id' do
|
391
394
|
get '/', to: 'groups#show', group_id: id_format_regex
|
392
395
|
|
396
|
+
# /groups/:group_id/members
|
397
|
+
scope '/members', as: 'members' do
|
398
|
+
get '/', to: 'groups/members#index'
|
399
|
+
|
400
|
+
# /groups/:group_id/members/current
|
401
|
+
scope '/current', as: 'current' do
|
402
|
+
get '/', to: 'groups/members#current'
|
403
|
+
end
|
404
|
+
end
|
393
405
|
# /groups/:group_id/houses
|
394
406
|
scope '/houses', as: 'houses' do
|
395
407
|
get '/', to: 'groups/houses#index'
|
396
408
|
end
|
397
|
-
|
398
|
-
# /groups/:group_id/memberships
|
399
|
-
scope '/memberships', as: 'memberships' do
|
400
|
-
get '/', to: 'groups/memberships#index'
|
401
|
-
|
402
|
-
# /groups/:group_id/memberships/current
|
403
|
-
scope '/current', as: 'current' do
|
404
|
-
get '/', to: 'groups/memberships#current'
|
405
|
-
end
|
406
|
-
end
|
407
409
|
# /groups/:group_id/positions
|
408
410
|
scope '/positions', as: 'positions' do
|
409
411
|
get '/', to: 'groups/positions#index'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parliament-routes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryony Watson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|