parliament-routes 0.5.2 → 0.5.3

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: 95822a87220db89bc48e206217dbac29d355902a
4
- data.tar.gz: 335ba5162b7653c1f6c3d25fad3f7e8abbbfeeb6
3
+ metadata.gz: 784ff2f6a9731c971ab5f3f149e4abadf342c413
4
+ data.tar.gz: 17524bf2eb5606181eb31433cfbb3f497c39f5be
5
5
  SHA512:
6
- metadata.gz: 12a016b8789db9e4b5b273f1c6a5905096ec3dbcb81c38fb0d6f650626c3aff5aafdadf153992e9ae5d201a0ed952e4221873666ad1e6d3b27626f4c8761fb69
7
- data.tar.gz: 003e648262a01e8cff1c0b552d57ee8124e0ac8c720bb6017ac4f0b0861539ce95829e8d42e6d8d2b9d298a625f4262258393e92b4d3728d359e81acae8ba90b
6
+ metadata.gz: fdcc70481017b4444df0d267d021e38a4ce5261fba78f8f93f2f4cc94e540d4742dc9f85920d52561a250e935dc86b5931dae3f3a0e7bdaee40ff12ef7d36b34
7
+ data.tar.gz: eab2f56ac65d0a88be0497c4ae96e164ed832fdc2f9ddd9f72363f709dbf63502be0ab88690de240e11abf4889114e120e01f4fe237687498825ca3cc33cb552
@@ -24,11 +24,13 @@ Rails.application.routes.draw do
24
24
  # /who-should-i-contact-with-my-issue
25
25
  get '/who-should-i-contact-with-my-issue', to: 'meta#who_should_i_contact_with_my_issue'
26
26
 
27
-
28
27
  ### Articles ###
29
- # /articles/:id
30
28
  get '/articles/:article_id', to: 'articles#show', article_id: id_format_regex, as: :article
31
29
 
30
+ ### Topics ###
31
+ get '/topics/:topic_id', to: 'topics#show', topic_id: id_format_regex, as: :topic
32
+ get '/topics', to: 'topics#index', as: :topics
33
+
32
34
  ### Hybrid Bill Petitions ###
33
35
  # /petition-a-hybrid-bill
34
36
  get '/petition-a-hybrid-bill', to: 'hybrid_bills#index', as: :hybrid_bills
@@ -38,7 +40,6 @@ Rails.application.routes.draw do
38
40
  post '/petition-a-hybrid-bill/:bill_id/email-a-petition', to: 'hybrid_bills#choose_type', as: :hybrid_bill_email_type
39
41
  get '/petition-a-hybrid-bill/:bill_id/complete-your-petition-online', to: 'hybrid_bills#redirect', as: :hybrid_bill_redirect
40
42
 
41
-
42
43
  ### Search ###
43
44
  # /search
44
45
  get '/search', to: 'search#index', as: :search
@@ -1,5 +1,5 @@
1
1
  module Parliament
2
2
  module Engine
3
- VERSION = '0.5.2'.freeze
3
+ VERSION = '0.5.3'.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.5.2
4
+ version: 0.5.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: 2017-12-15 00:00:00.000000000 Z
11
+ date: 2018-01-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails