dir_to_tree.call('.')
end
- def attribute_editable? attr, *args
- if %w(name description manifest_text).include? attr.to_s
- true
- else
- super
- end
+ def editable_attributes
+ %w(name description manifest_text)
end
def self.creatable?
end
end
- def friendly_link_name
+ def friendly_link_name lookup=nil
if self.respond_to? :name
self.name
else
end
end
+ def textile_attributes
+ [ 'description' ]
+ end
+
end