Created
July 26, 2013 07:58
-
-
Save nowk/6087070 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.expand_path("../production.rb", __FILE__) | |
RailsAppName::Application.configure do | |
config.middleware.insert_after(::Rack::Lock, "::Rack::Auth::Basic", "Staging") do |u, p| | |
[u, p] == [ENV['STAGING_USERNAME'], ENV['STAGING_PASSWORD']] | |
end | |
config.action_mailer.default_url_options = { :host => 'some-app.herokuapp.com' } | |
config.action_mailer.asset_host = "" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment