parliament-routes 0.6.27 → 0.6.29
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 +28 -2
- 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: f75ce54a643b648284bfa0cb2d31109a0b2bca92
|
4
|
+
data.tar.gz: 43e5ad3e9c0b56eec2f62e9837df2d793cae1069
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03e10e7398326d91cadf9f622913c6ad2a874843ca2a7e748d3e27caed9e5fa77fc79d3e2f62f5b22009692c7a1d7e978e204c87ccf2090061e3b8b6610250bd
|
7
|
+
data.tar.gz: 9de5d7fe8e9582382694c20975141f240aad3b129408bc3d8d3f5451bde734f0859168bd85202f855222d832618c43865c3549d4500876c0e27ae828998e44dd
|
data/config/routes.rb
CHANGED
@@ -35,11 +35,37 @@ Rails.application.routes.draw do
|
|
35
35
|
|
36
36
|
### Proposed Negative Statutory Instruments ###
|
37
37
|
get '/proposed-negative-statutory-instruments', to: 'proposed_negative_statutory_instruments#index', as: :proposed_negative_statutory_instruments
|
38
|
-
|
38
|
+
|
39
|
+
## Proposed Negative Statutory Instrument
|
40
|
+
scope '/proposed-negative-statutory-instruments', as: 'proposed_negative_statutory_instrument' do
|
41
|
+
|
42
|
+
# /proposed-negative-statutory-instruments/:proposed_negative_statutory_instrument_id
|
43
|
+
scope '/:proposed_negative_statutory_instrument_id' do
|
44
|
+
get '/', to: 'proposed_negative_statutory_instruments#show'
|
45
|
+
|
46
|
+
# /proposed-negative-statutory-instruments/:proposed_negative_statutory_instrument_id/work-packages
|
47
|
+
scope '/work-packages', as: 'work_packages' do
|
48
|
+
get '/', to: 'proposed_negative_statutory_instruments/work_packages#index'
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
39
52
|
|
40
53
|
### Statutory Instruments ###
|
41
54
|
get '/statutory-instruments', to: 'statutory_instruments#index', as: :statutory_instruments
|
42
|
-
|
55
|
+
|
56
|
+
## Statutory Instrument
|
57
|
+
scope '/statutory-instruments', as: 'statutory_instrument' do
|
58
|
+
|
59
|
+
# /statutory-instruments/:statutory_instrument_id
|
60
|
+
scope '/:statutory_instrument_id' do
|
61
|
+
get '/', to: 'statutory_instruments#show'
|
62
|
+
|
63
|
+
# /statutory-instruments/:statutory_instrument_id/work-packages
|
64
|
+
scope '/work-packages', as: 'work_packages' do
|
65
|
+
get '/', to: 'statutory_instruments/work_packages#index'
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
43
69
|
|
44
70
|
### Articles ###
|
45
71
|
get '/articles/:article_id', to: 'articles#show', article_id: id_format_regex, as: :article
|
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.29
|
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-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|