From 35d026441e805f3659f921101f511747d65ef11c Mon Sep 17 00:00:00 2001 From: josevalim Date: Thu, 12 Aug 2010 13:45:55 -0700 Subject: [PATCH] Migrated from trying-to-understand-drops v7 --- Trying-to-Understand-Drops.textile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Trying-to-Understand-Drops.textile b/Trying-to-Understand-Drops.textile index 0b2966d..03cda30 100644 --- a/Trying-to-Understand-Drops.textile +++ b/Trying-to-Understand-Drops.textile @@ -15,7 +15,7 @@ Basically there are three methods/ways to define that logic "http://wiki.github. The above describe method will constructs a Liquid Drop with the methods you included. After including the above said stuff you will be able to access user's email and login in the liquid template ie {{ user.email }} and {{ user.login }}. Only email and login will be available in the liquid template (all other methods will not be accessible to liquid templates i.e. user.password ). - +

   class ArticleDrop < BaseDrop
     include Mephisto::Liquid::UrlMethods
 
@@ -81,4 +81,4 @@ The above describe method will constructs a Liquid Drop with the methods you inc
         contents.reverse! if mode == :single
         contents.detect { |content| !content.blank? }.to_s.strip
       end
-  end
\ No newline at end of file
+  end
\ No newline at end of file