Skip to content

Commit

Permalink
Fixed dependency loading when using plugins.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbroadbent committed Oct 9, 2011
1 parent 9df7204 commit d7794b8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 0 additions & 2 deletions config/initializers/fat_free_crm.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
require "plugin_dependencies"
require "overrides"
require "fat_free_crm"

6 changes: 6 additions & 0 deletions lib/fat_free_crm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http:#www.gnu.org/licenses/>.
#------------------------------------------------------------------------------
# Plugin dependencies
require Rails.root.join('vendor/plugins/is_paranoid/init')
# Overrides
require "overrides/authlogic/session/cookies"

# Fat Free CRM
require "fat_free_crm/version"
require "fat_free_crm/core_ext"
require "fat_free_crm/exceptions"
Expand Down
2 changes: 0 additions & 2 deletions lib/overrides.rb

This file was deleted.

3 changes: 0 additions & 3 deletions lib/plugin_dependencies.rb

This file was deleted.

0 comments on commit d7794b8

Please sign in to comment.