From 91b8a7155f5a2865965cdac3737e98658c81b8e2 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Fri, 18 Jan 2008 18:23:56 +0000 Subject: [PATCH] ActionItem154: adding a default implementation of is_validation_entity? in Profile class; just returns false --- app/models/profile.rb | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/app/models/profile.rb b/app/models/profile.rb index 83963ec..14e0fee 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -158,6 +158,11 @@ class Profile < ActiveRecord::Base self.kind_of?(Organization) end + # returns false. + def is_validation_entity? + false + end + include ActionController::UrlWriter def url url_for(:host => self.environment.default_hostname, :profile => self.identifier, :controller => 'content_viewer', :action => 'view_page', :page => []) -- libgit2 0.21.2