[38301] branches/gsoc08-mpwa/config/initializers/extend_tag_model.rb

digx at macports.org digx at macports.org
Mon Jul 14 21:48:12 PDT 2008


Revision: 38301
          http://trac.macosforge.org/projects/macports/changeset/38301
Author:   digx at macports.org
Date:     2008-07-14 21:48:12 -0700 (Mon, 14 Jul 2008)
Log Message:
-----------
Added initialier to extend Tag model in acts_as_taggable_on

Added Paths:
-----------
    branches/gsoc08-mpwa/config/initializers/extend_tag_model.rb

Added: branches/gsoc08-mpwa/config/initializers/extend_tag_model.rb
===================================================================
--- branches/gsoc08-mpwa/config/initializers/extend_tag_model.rb	                        (rev 0)
+++ branches/gsoc08-mpwa/config/initializers/extend_tag_model.rb	2008-07-15 04:48:12 UTC (rev 38301)
@@ -0,0 +1,5 @@
+class Tag
+  def to_param
+    name
+  end
+end
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080714/5ee058d2/attachment.html 


More information about the macports-changes mailing list