Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

And fix some more requires

  • Loading branch information...
commit 35c9922c612c03191b7906c5a06610faea88c3f9 1 parent ba058a3
@manveru authored
View
2  app/controllers/publics_controller.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
2  app/models/person.rb
@@ -3,7 +3,7 @@
# the COPYRIGHT file.
-require 'lib/hcard'
+require File.expand_path('../../../lib/hcard', __FILE__)
class Person
include MongoMapper::Document
View
2  app/models/post.rb
@@ -4,7 +4,7 @@
class Post
- require 'lib/encryptable'
+ require File.expand_path('../../../lib/encryptable', __FILE__)
include MongoMapper::Document
include ApplicationHelper
include ROXML
View
2  app/models/request.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.