File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
PATH
2
2
remote: .
3
3
specs:
4
- parliament-routes (0.6.9 )
4
+ parliament-routes (0.6.10 )
5
5
6
6
GEM
7
7
remote: https://rubygems.org/
@@ -156,4 +156,4 @@ DEPENDENCIES
156
156
sqlite3
157
157
158
158
BUNDLED WITH
159
- 1.16.2
159
+ 1.16.3
Original file line number Diff line number Diff line change 26
26
get '/who-should-i-contact-with-my-issue' , to : 'meta#who_should_i_contact_with_my_issue'
27
27
28
28
### Statutory Instruments ###
29
- # /statutory-instruments
30
29
get '/statutory-instruments' , to : 'statutory_instruments#index'
30
+ get '/statutory-instruments/:statutory_instrument_id' , to : 'statutory_instruments#show'
31
31
32
32
## Work Packages ##
33
33
get '/work-packages' , to : 'work_packages#index' , as : :work_packages
Original file line number Diff line number Diff line change 1
1
module Parliament
2
2
module Engine
3
- VERSION = '0.6.9 ' . freeze
3
+ VERSION = '0.6.10 ' . freeze
4
4
end
5
5
end
Original file line number Diff line number Diff line change 3
3
RSpec . describe 'routing' do
4
4
it 'should have a specific number of routes inherited from the engine' do
5
5
# routes.rb currently has 186 routes, 2 routes exist on top of this in dummy application
6
- expect ( Rails . application . routes . routes . size ) . to eq ( 194 )
6
+ expect ( Rails . application . routes . routes . size ) . to eq ( 195 )
7
7
end
8
8
end
You can’t perform that action at this time.
0 commit comments