public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
update permalinK_fu translation_to string


git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@3075 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Wed Dec 19 12:18:33 -0800 2007
commit  e004726ca84654d0ec107ca64014c38564e1f2e6
tree    6ceee263f969298215b6b0f4033147ea0b0483fc
parent  90aef2a40a64cc26babb234295fa10566b8ee0ad
...
3
4
5
6
 
7
8
9
...
13
14
15
16
 
17
18
19
...
35
36
37
38
 
39
...
3
4
5
 
6
7
8
9
...
13
14
15
 
16
17
18
19
...
35
36
37
 
38
39
0
@@ -3,7 +3,7 @@ module PermalinkFu
0
   class << self
0
     attr_accessor :translation_to
0
     attr_accessor :translation_from
0
-
0
+
0
     def escape(str)
0
       s = Iconv.iconv(translation_to, translation_from, str).to_s
0
       s.gsub!(/\W+/, ' ') # all non-word chars to spaces
0
@@ -13,7 +13,7 @@ module PermalinkFu
0
       s
0
     end
0
   end
0
-
0
+
0
   # Specifies the given field(s) as a permalink, meaning it is passed through PermalinkFu.escape and set to the permalink_field. This
0
   # is done
0
   #
0
@@ -35,5 +35,5 @@ module PermalinkFu
0
   end
0
 end
0
 
0
-PermalinkFu.translation_to = 'ascii//ignore//translit'
0
+PermalinkFu.translation_to = 'ascii//translit'
0
 PermalinkFu.translation_from = 'utf-8'

Comments

    No one has commented yet.