Commit 45e60d94e78305b17aac20b54220b1b8e3a85670

Authored by JoenioCosta
1 parent da99ff38

ActionItem567: fix some problems with single table inheritance

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2281 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 6 additions and 0 deletions   Show diff stats
app/controllers/application.rb
... ... @@ -45,6 +45,12 @@ class ApplicationController < ActionController::Base
45 45 verify :method => :post, :only => actions, :redirect_to => redirect
46 46 end
47 47  
  48 + # Fix some problems with Single Table Inheritance
  49 + require_dependency 'textile_article'
  50 + require_dependency 'tiny_mce_article'
  51 + require_dependency 'text_article'
  52 + require_dependency 'article'
  53 +
48 54 protected
49 55  
50 56 # TODO: move this logic somewhere else (Domain class?)
... ...