Commit 91b8a7155f5a2865965cdac3737e98658c81b8e2

Authored by AntonioTerceiro
1 parent 0a85227c

ActionItem154: adding a default implementation of is_validation_entity? in Profi…

…le class; just returns false


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1204 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 5 additions and 0 deletions   Show diff stats
app/models/profile.rb
... ... @@ -158,6 +158,11 @@ class Profile < ActiveRecord::Base
158 158 self.kind_of?(Organization)
159 159 end
160 160  
  161 + # returns false.
  162 + def is_validation_entity?
  163 + false
  164 + end
  165 +
161 166 include ActionController::UrlWriter
162 167 def url
163 168 url_for(:host => self.environment.default_hostname, :profile => self.identifier, :controller => 'content_viewer', :action => 'view_page', :page => [])
... ...