diff --git a/app/models/category.rb b/app/models/category.rb index 54cd160..e537d58 100644 --- a/app/models/category.rb +++ b/app/models/category.rb @@ -1,6 +1,6 @@ class Category < ActiveRecord::Base - validates_exclusion_of :slug, :in => [ 'index'], :message => N_('%{fm} cannot be like that.') + validates_exclusion_of :slug, :in => [ 'index' ], :message => N_('%{fn} cannot be like that.') validates_presence_of :name, :environment_id validates_uniqueness_of :slug,:scope => [ :environment_id, :parent_id ], :message => N_('%{fn} is already being used by another category.') belongs_to :environment -- libgit2 0.21.2