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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f75ce54a643b648284bfa0cb2d31109a0b2bca92
4
- data.tar.gz: 43e5ad3e9c0b56eec2f62e9837df2d793cae1069
3
+ metadata.gz: 74c48a18125735359a483a199c404e0101a986d9
4
+ data.tar.gz: 8083f9dffc3fa44f2f92b9ae5e822ba182e8360e
5
5
  SHA512:
6
- metadata.gz: 03e10e7398326d91cadf9f622913c6ad2a874843ca2a7e748d3e27caed9e5fa77fc79d3e2f62f5b22009692c7a1d7e978e204c87ccf2090061e3b8b6610250bd
7
- data.tar.gz: 9de5d7fe8e9582382694c20975141f240aad3b129408bc3d8d3f5451bde734f0859168bd85202f855222d832618c43865c3549d4500876c0e27ae828998e44dd
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
- get '/proposed-negative-statutory-instruments', to: 'proposed_negative_statutory_instruments#index', as: :proposed_negative_statutory_instruments
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
- ## Proposed Negative Statutory Instrument
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
- get '/statutory-instruments', to: 'statutory_instruments#index', as: :statutory_instruments
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
@@ -1,5 +1,5 @@
1
1
  module Parliament
2
2
  module Engine
3
- VERSION = '0.6.29'.freeze
3
+ VERSION = '0.6.30'.freeze
4
4
  end
5
5
  end
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.29
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-12 00:00:00.000000000 Z
11
+ date: 2018-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails