Permalink
Browse files

And fix some more requires

  • Loading branch information...
1 parent ba058a3 commit 35c9922c612c03191b7906c5a06610faea88c3f9 @manveru committed Sep 16, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 app/controllers/publics_controller.rb
  2. +1 −1 app/models/person.rb
  3. +1 −1 app/models/post.rb
  4. +1 −1 app/models/request.rb
@@ -4,7 +4,7 @@
class PublicsController < ApplicationController
- require 'lib/diaspora/parser'
+ require File.expand_path('../../../lib/diaspora/parser', __FILE__)
include Diaspora::Parser
layout false
View
@@ -3,7 +3,7 @@
# the COPYRIGHT file.
-require 'lib/hcard'
+require File.expand_path('../../../lib/hcard', __FILE__)
class Person
include MongoMapper::Document
View
@@ -4,7 +4,7 @@
class Post
- require 'lib/encryptable'
+ require File.expand_path('../../../lib/encryptable', __FILE__)
include MongoMapper::Document
include ApplicationHelper
include ROXML
View
@@ -4,7 +4,7 @@
class Request
- require 'lib/diaspora/webhooks'
+ require File.expand_path('../../../lib/diaspora/webhooks', __FILE__)
include MongoMapper::Document
include Diaspora::Webhooks
include ROXML

0 comments on commit 35c9922

Please sign in to comment.