File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ gem 'newrelic_rpm'
15
15
# Fixes Rails architecture kludges
16
16
gem 'rails_12factor' , group : :production
17
17
18
+ # Forces SSL usage
19
+ gem 'rack-ssl'
18
20
19
21
# Use Redis as backing store
20
22
gem 'ohm'
Original file line number Diff line number Diff line change 151
151
pry-nav (0.2.4 )
152
152
pry (>= 0.9.10 , < 0.11.0 )
153
153
rack (1.5.2 )
154
+ rack-ssl (1.4.1 )
155
+ rack
154
156
rack-test (0.6.2 )
155
157
rack (>= 1.0 )
156
158
rails (4.1.6 )
@@ -278,6 +280,7 @@ DEPENDENCIES
278
280
pry
279
281
pry-doc
280
282
pry-nav
283
+ rack-ssl
281
284
rails (= 4.1.6 )
282
285
rails_12factor
283
286
redis-rails
Original file line number Diff line number Diff line change 5
5
config . autoload_paths += %W( #{ config . root } /app/services)
6
6
7
7
config . middleware . use ActionDispatch ::Flash
8
+ config . middleware . insert 0 , Rack ::SSL
8
9
end
9
10
10
11
# Initialize the Rails application.
You can’t perform that action at this time.
0 commit comments