parliament-routes 0.6.29 → 0.6.30
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 +7 -3
- 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: 74c48a18125735359a483a199c404e0101a986d9
|
4
|
+
data.tar.gz: 8083f9dffc3fa44f2f92b9ae5e822ba182e8360e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61a76d7efa19e4cc0e7b5bc9e7b1be03cf7759e9f7d2a05a175cdab34fa113761f3d6a5c4a195ff607aefb0e02248f7e7dfd9cf34ec57f774d1c256095ab9f30
|
7
|
+
data.tar.gz: 8076a9b22d49ffebbf8d8482d11b5f309b6b5e4f41830af7a081215ba158bb88848194fbb0183e2492cf439595a38020641e6bcb4c8b528e0ec55b708a2e2092
|
data/config/routes.rb
CHANGED
@@ -34,9 +34,11 @@ Rails.application.routes.draw do
|
|
34
34
|
get '/laying-bodies', to: 'laying_bodies#index', as: :laying_bodies
|
35
35
|
|
36
36
|
### Proposed Negative Statutory Instruments ###
|
37
|
-
|
37
|
+
scope '/proposed-negative-statutory-instruments', as: 'proposed_negative_statutory_instruments' do
|
38
|
+
build_default_routes('proposed_negative_statutory_instruments', current: false, lookup: true, postcode: false)
|
39
|
+
end
|
38
40
|
|
39
|
-
|
41
|
+
### Proposed Negative Statutory Instrument ###
|
40
42
|
scope '/proposed-negative-statutory-instruments', as: 'proposed_negative_statutory_instrument' do
|
41
43
|
|
42
44
|
# /proposed-negative-statutory-instruments/:proposed_negative_statutory_instrument_id
|
@@ -51,7 +53,9 @@ Rails.application.routes.draw do
|
|
51
53
|
end
|
52
54
|
|
53
55
|
### Statutory Instruments ###
|
54
|
-
|
56
|
+
scope '/statutory-instruments', as: 'statutory_instruments' do
|
57
|
+
build_default_routes('statutory_instruments', current: false, lookup: true, postcode: false)
|
58
|
+
end
|
55
59
|
|
56
60
|
## Statutory Instrument
|
57
61
|
scope '/statutory-instruments', as: 'statutory_instrument' do
|
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.30
|
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-12-
|
11
|
+
date: 2018-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|