path = write_to_disk
ret = HookManager.run "mime-view", :content_type => @content_type,
:filename => path
- view_default! path unless ret
+ ret || view_default!(path)
end
def write_to_disk
def inlineable?; false end
def quotable?; false end
def expandable?; true end
- def initial_state; :open end
+ def initial_state; :closed end
def viewable?; false end
def patina_color; :generic_notice_patina_color end