Force use https for generate route

This commit is contained in:
Xavier J 2016-09-12 17:30:25 +02:00
parent 4a336b8af7
commit e9d4685aef

View file

@ -1,4 +1,5 @@
Rails.application.routes.draw do
default_url_options protocol: :https
get "/ping" => "ping#index", :constraints => {:ip => /127.0.0.1/}