Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

handle permalinks and slugs correctly

  • Loading branch information...
commit 0c8552bee6ce81fe638e58ab80e901499f4f2ccf 1 parent 988ba80
Gonçalo Silva authored November 01, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/dummy.rb
2  lib/dummy.rb
@@ -48,7 +48,7 @@ def magic_string(field, type = :string)
48 48
         Dummy::Address.city
49 49
       when /mail/ then
50 50
         Dummy::Internet.email
51  
-      when /password|pass|pwd|token|id/ then
  51
+      when /pass|pwd|token|id|permalink|slug/ then
52 52
         Dummy::Internet.password
53 53
       when /url|uri|href|link|page|site/ then
54 54
         Dummy::Internet.url

0 notes on commit 0c8552b

Please sign in to comment.
Something went wrong with that request. Please try again.