Fixed ActionController Gem bug report by adding allowed hosts config

This commit is contained in:
Abhay Nikam 2019-08-21 14:32:58 +05:30
parent 3e4d55cb0f
commit 780010c335
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ require "action_controller/railtie"
class TestApp < Rails::Application
config.root = __dir__
config.hosts << "example.org"
config.session_store :cookie_store, key: "cookie_store_key"
secrets.secret_key_base = "secret_key_base"