Commit fb2c4c9f authored by Rafael Masoni's avatar Rafael Masoni
Browse files

Adding perhaps a better way to check the environment for oAuth

parent 72bb59fe
......@@ -3,7 +3,7 @@ Rails.application.config.middleware.use OmniAuth::Builder do
provider :twitter, 'OtgUJ38USbc3PnbRH1i9DA', 'sZGgzbqX3xPhzoVru6uzpIvrBwIRIQbrHVDG5CXrm8'
if ENV['RAILS_ENV'] == "production"
if Rails.env.production?
OmniAuth.config.full_host = ""
OmniAuth.config.full_host = "http://localhost:3000"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment