diff options
author | Steven Hancock <stevenh512@gmail.com> | 2012-03-25 04:53:55 +0400 |
---|---|---|
committer | Maxwell Salzberg <maxwell@joindiaspora.com> | 2012-03-28 05:08:28 +0400 |
commit | f96fc5834fb3ed006e472453870abc7ed2046e1c (patch) | |
tree | d8382dfedfe0ac2911816c825521a1ff289efa85 /config/application.rb | |
parent | 208fdee0cdca65ba659e044c31bf1ed0299e4d09 (diff) |
Make the Mention button work with the asset pipeline
* Fix the javascript_include_tag in the status_messages/new view
* Precompile pubhlsiher.js and jquery.textchange.min.js
This fixes a 500 error that was being thrown when the Mention button
was clicked, due to the above two javascripts not being precompiled
and a javascript include that needed to be updated to load
jquery.textchange.js from the correct path.
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/application.rb b/config/application.rb index 5e4384a32..f8850108c 100644 --- a/config/application.rb +++ b/config/application.rb @@ -76,9 +76,9 @@ module Diaspora # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added) # Javascripts 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" ] + "ie.js", "inbox.js", "jquery.js", "jquery_ujs.js", "jquery.textchange.min.js", + "login.js", "mailchimp.js", "main.js", "mobile.js", "profile.js", + "people.js", "photos.js", "publisher.js", "templates.js", "validation.js" ] # Stylesheets config.assets.precompile += [ "blueprint.css", "bootstrap.css", "default.css", |