From 95b1603a3639b79fba8e787c230999f8ea9448ff Mon Sep 17 00:00:00 2001 From: Steven Hancock Date: Sat, 24 Mar 2012 01:52:03 -0700 Subject: [PATCH] Precompile contact-list.js Add contact-list.js to the list of precompiled assets. contact-list.js is required to display user serarch results, but was not precompiled by default (in jammit or in the asset pipeline), which causes a 500 error on Heroku. --- config/application.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/application.rb b/config/application.rb index 324fb9d26..5e4384a32 100644 --- a/config/application.rb +++ b/config/application.rb @@ -75,9 +75,9 @@ module Diaspora # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) # Javascripts - config.assets.precompile += [ "finder.js", "home.js", "ie.js", "inbox.js", - "jquery.js", "jquery_ujs.js", "login.js", "mailchimp.js", "main.js", - "mobile.js", "profile.js", "people.js", "photos.js", "templates.js", + config.assets.precompile += [ "contact-list.js", "finder.js", "home.js", + "ie.js", "inbox.js", "jquery.js", "jquery_ujs.js", "login.js", "mailchimp.js", + "main.js", "mobile.js", "profile.js", "people.js", "photos.js", "templates.js", "validation.js" ] # Stylesheets