Patch problems

MenTaLguY mental at rydia.net
Mon Sep 4 00:25:54 EDT 2006


On Sun, 2006-09-03 at 20:13 +0200, Paul van Tilburg wrote:
> ---------
> --- lib/hobix/linklist.rb       (revision 135)
> +++ lib/hobix/linklist.rb       (working copy)
> @@ -47,7 +47,7 @@
>  module Hobix
>  class LinkList < BaseEntry
> 
> -    _ :links,   [:req, :textarea]
> +    _ :links,   :req => true, :edit_as => :textarea, :text_processor => true
> 
>      # Converts the link list into a RedCloth string for display
>      # in templates.
> 
> ---------
> 
> I am not exactly sure about the values of :edit_as and :text_processor though?

Applied.  :edit_as is correct, I do not believe links should be
automatically RedClothized (given LinkList#contents), so I've left off
the :text_processor bit.

-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://rubyforge.org/pipermail/hobix-is-the-way/attachments/20060904/77e8b39e/attachment.bin 


More information about the Hobix-is-the-way mailing list