Commit 5a0f948a authored by Maxwell Salzberg's avatar Maxwell Salzberg

better file requires in production.rb

parent d9c2b0d4
......@@ -49,7 +49,7 @@ Diaspora::Application.configure do
config.threadsafe!
require Rails.root + 'app/models/app_config'
require File.join(Rails.root, 'app/models/app_config')
if AppConfig[:google_a_site].present?
config.gem 'rack-google-analytics', :lib => 'rack/google-analytics'
......
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