Skip to content

Commit ed27356

Browse files
committed
rename config/initializers/hosts.rb to local_hosts.rb
1 parent d85ac5c commit ed27356

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ config/secrets.yml
1515
config/sunspot.yml
1616
config/tess.yml
1717
config/ingestion.yml
18-
config/initializers/hosts.rb
18+
config/initializers/local_hosts.rb
1919
tmp/
2020
solr/test/
2121
solr/pids/

docs/spaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This will ensure that if you visit e.g. plants.mytess.training, your browser wil
1818
(you may need to restart your browser after changing the hosts file).
1919

2020
To ensure your Rails application accepts requests to the hosts provided above, you will also need to create a
21-
file `config/initializers/hosts.rb` and add the necessary hosts to Rails' config:
21+
file `config/initializers/local_hosts.rb` and add the necessary hosts to Rails' config:
2222

2323
```ruby
2424
Rails.application.config.hosts << '.mytess.training' if Rails.env.development?

0 commit comments

Comments
 (0)