<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,7 @@
 * SVN *
 
+# Allow Resource#non_image_extnames to be overridden by plugins [myles_b]
+
 * filter password fields in logs [chrissturm]
 
 * add *.ico to list of approved extensions for theme resources [myles_b]</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,8 @@
 class Resources &lt; Attachments
-  NON_IMAGE_EXTNAMES = %w(.js .css)
+  @@non_image_extnames = %w(.js .css)
+  cattr_reader :non_image_extnames
   def image?(path)
-    !NON_IMAGE_EXTNAMES.include?(path.extname)
+    !non_image_extnames.include?(path.extname)
   end
   
   def content_type(path)</diff>
      <filename>app/models/resources.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a7264f9f2a381794c9b25a5d4fe184638e40dc77</id>
    </parent>
  </parents>
  <author>
    <name>technoweenie</name>
    <email>technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78</email>
  </author>
  <url>http://github.com/francois/mephisto/commit/b2cb3ca0929ba2b1dc0acd2d51e6274d43bd1a8b</url>
  <id>b2cb3ca0929ba2b1dc0acd2d51e6274d43bd1a8b</id>
  <committed-date>2007-01-07T22:07:07-08:00</committed-date>
  <authored-date>2007-01-07T22:07:07-08:00</authored-date>
  <message>Allow Resource#non_image_extnames to be overridden by plugins [myles_b]

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@2642 567b1171-46fb-0310-a4c9-b4bef9110e78</message>
  <tree>f010b1381c4b54feeea6b607702b65f20531be60</tree>
  <committer>
    <name>technoweenie</name>
    <email>technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78</email>
  </committer>
</commit>
