Commit c5731690db46b2d78824dff76968f4c01e221506

Authored by AntonioTerceiro
1 parent ed55018e

ActionItem70: better spacing



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@533 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/category.rb
1 class Category < ActiveRecord::Base 1 class Category < ActiveRecord::Base
2 2
3 - validates_exclusion_of :slug, :in => [ 'index'], :message => N_('%{fm} cannot be like that.') 3 + validates_exclusion_of :slug, :in => [ 'index' ], :message => N_('%{fn} cannot be like that.')
4 validates_presence_of :name, :environment_id 4 validates_presence_of :name, :environment_id
5 validates_uniqueness_of :slug,:scope => [ :environment_id, :parent_id ], :message => N_('%{fn} is already being used by another category.') 5 validates_uniqueness_of :slug,:scope => [ :environment_id, :parent_id ], :message => N_('%{fn} is already being used by another category.')
6 belongs_to :environment 6 belongs_to :environment