Skip to content
This repository has been archived by the owner on Nov 29, 2017. It is now read-only.

Commit

Permalink
Merge pull request #414 from YaleSTC/413_dummy_value
Browse files Browse the repository at this point in the history
Inserted dummy value for `config.action_controller.relative_url_root`
  • Loading branch information
shippy committed Nov 7, 2014
2 parents ff6d459 + e1b1dc7 commit f24c37c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
config.consider_all_requests_local = false
config.action_controller.perform_caching = true

# Dummy value for deploy script - change as necessary
config.action_controller.relative_url_root = ""

# Disable Rails's static asset server (Apache or nginx will already do this)
config.serve_static_assets = false

Expand Down Expand Up @@ -55,4 +58,6 @@
domain: "yale.edu",
}



end
3 changes: 3 additions & 0 deletions config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
#config.serve_static_assets = true
config.action_mailer.perform_deliveries = false

# Dummy value for deploy script - change as necessary
config.action_controller.relative_url_root = ""

end

0 comments on commit f24c37c

Please sign in to comment.