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 +4 -4
- data/config/routes.rb +4 -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: 784ff2f6a9731c971ab5f3f149e4abadf342c413
|
4
|
+
data.tar.gz: 17524bf2eb5606181eb31433cfbb3f497c39f5be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdcc70481017b4444df0d267d021e38a4ce5261fba78f8f93f2f4cc94e540d4742dc9f85920d52561a250e935dc86b5931dae3f3a0e7bdaee40ff12ef7d36b34
|
7
|
+
data.tar.gz: eab2f56ac65d0a88be0497c4ae96e164ed832fdc2f9ddd9f72363f709dbf63502be0ab88690de240e11abf4889114e120e01f4fe237687498825ca3cc33cb552
|
data/config/routes.rb
CHANGED
@@ -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
|
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.
|
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:
|
11
|
+
date: 2018-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|