Minor Contributing documentation updates.

These are small things I had to change to have the vagrant environtment work
correctly.
This commit is contained in:
Rob Smith 2016-09-15 21:19:27 -07:00
parent 85fcd4e1b7
commit 0dba45909f
2 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,9 @@
Osem::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Allow the web console from the vagrant host ip
config.web_console.whitelisted_ips = '10.0.2.2'
# Use letter_opener_web for Vagrant (launchy won't work)
config.action_mailer.delivery_method = ENV['USER'] == 'vagrant' ? :letter_opener_web : :letter_opener