Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

allow locales like zh-CN

  • Loading branch information...
commit 599edef81d01c9ecb3bef86ec771f3d37035647f 1 parent 880f1dd
Ruslan Doroshenko itgod authored parndt committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  db/migrate/20101217113424_add_locale_to_slugs.rb
2  db/migrate/20101217113424_add_locale_to_slugs.rb
View
@@ -1,6 +1,6 @@
class AddLocaleToSlugs < ActiveRecord::Migration
def self.up
- add_column :slugs, :locale, :string, :limit => 2
+ add_column :slugs, :locale, :string, :limit => 5
add_index :slugs, :locale
end
Please sign in to comment.
Something went wrong with that request. Please try again.